Skip to content

Alerts page shows last 24h instead of current day alerts (frontend timezone filtering might be missing) #199

Description

@fe51

Pitch

As a user, on the alerts page, I only want to see alerts from the current day, not alerts from the last 24 hours.
I thought this bug had already been fixed, but I can still reproduce it in production.
A screenshot illustrating the issue is available below

What is done currently

The alerts list currently displays alerts from the previous rolling 24-hour window instead of restricting results to alerts created today according to the user’s local timezone.

What has to be done

Only alerts created during the current calendar day should be displayed (from 00:00 to 23:59 in the user’s timezone).

Technical Note

Filtering must be handled on the frontend side, since only the frontend knows the user’s timezone.

Thanks a lot for your help 🙏

Image

Metadata

Metadata

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions