You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Current events do not appear in either Past or Upcoming events on the events page
I believe this is because Upcoming Events uses for_datetime, which searches for events with a start date greater than today, while Past Events ("You just missed...") uses until_datetime which searches for events with an end date less than today.
As such, a multi-day event that is currently ongoing is not picked up by either filter and effectively disappears from the event page until it's finished.
To Reproduce
Steps to reproduce the behavior:
Have an event that starts before today and ends after today
With DjangoCon Europe set for the 21st - 25th of September, and currently showing as an Upcoming Event, this issue should be reproducible between these dates.
Expected behavior
Current events should display somewhere on the events page.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: 105.0.5195.127
Additional context
I'm unsure whether or not currently ongoing events should appear in Past or Upcoming Events, or if there should be a separate category for them, but disappearing completely is probably not ideal, and slightly confusing
The text was updated successfully, but these errors were encountered:
malemburg
changed the title
Events Page - Currently ongoing events do not display
Bug: Events Page - Currently ongoing events do not display
May 6, 2025
Describe the bug
Current events do not appear in either Past or Upcoming events on the events page
I believe this is because Upcoming Events uses
for_datetime
, which searches for events with a start date greater than today, while Past Events ("You just missed...") usesuntil_datetime
which searches for events with an end date less than today.As such, a multi-day event that is currently ongoing is not picked up by either filter and effectively disappears from the event page until it's finished.
To Reproduce
Steps to reproduce the behavior:
With DjangoCon Europe set for the 21st - 25th of September, and currently showing as an Upcoming Event, this issue should be reproducible between these dates.
Expected behavior
Current events should display somewhere on the events page.
Desktop (please complete the following information):
Additional context
I'm unsure whether or not currently ongoing events should appear in Past or Upcoming Events, or if there should be a separate category for them, but disappearing completely is probably not ideal, and slightly confusing
The text was updated successfully, but these errors were encountered: