Description
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
- Go to the Events listing page (https://www.python.org/events/python-events/)
- The event will not appear
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