Skip to content

Bug: Events Page - Currently ongoing events do not display #2138

Open
@sgsabbage

Description

@sgsabbage

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:

  1. Have an event that starts before today and ends after today
  2. Go to the Events listing page (https://www.python.org/events/python-events/)
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/eventsRelates to the calendars and events appbugThis is a bug!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions