After upgrading, tkforbes noticed that pre-existing calendar events in their Discourse instance shifted from local time to UTC, significantly impacting their community. tkforbes provided screenshots and details about the issue, including an event that was defined as 9am-5:30pm but displayed as 2:00 PM-10:30 PM.
supermathie requested the raw post where the event was defined, and tkforbes explained that the event times were displaying as UTC, but clicking or hovering the event showed the correct times. tkforbes also reported inconsistent behavior, with some events showing local time and others showing UTC time.
tkforbes provided the event code, and supermathie suggested that the posts might need a rebake. joffreyjaffeux acknowledged the issue with local dates not being applied to the calendar and planned to fix it in the near future.
Later, tkforbes confirmed that a rebake did result in an update, and tkforbes noted that refreshing the page could also correct the issue. However, navigating from the Upcoming Events calendar to the event still gave incorrect times. joffreyjaffeux mentioned that a fix had been pushed a few days ago, which should resolve the issue.
My Discourse has a very active calendar. All the pre-defined event start and end times reset from local time to UTC. That has a significant impact on my community.
The Rebuild HTML option doesn’t seem to be necessary. I can get a corrected result just by refreshing the page. It’s annoying though, because navigating from the Upcoming Events calendar to the event does give me the incorrect times. Members expect to see a reliable result every time.
I don’t think I’ve found a case of incorrectly displayed times for any user other than admin.