#1952 - Event details page displays wrong date on events that occur 12am or later GMT

This is a spacer post for a website comment topic. The content this topic relates to: #1952 - Event details page displays wrong date on events that occur 12am or later GMT
Is it correct to assume that you are viewing in the GMT-4 timezone?

Is "Do timezone conversions" enabled for the event?

No recurrence settings set, correct?
This is in 9.0.19, without any calendar hotfixes applied after the upgrade happened?
(as if there were it would be an old file, as I don't think we've made one recently)

To check, go to integrity checker in /upgrader.php and make sure it doesn't report sources/calendar.php as corrupt/outdated.
All that said, I can actually reproduce it. You need to go to the calendar, then to the event, not direct to the event.

Answering the above will just help me double check things, but I don't strictly need those answers.

Sorry it took ages to get to this one.

GMT-4 is correct

Do timezone conversions is off

These events do have recurrence (usually weekly).

sources/calendar.php does not show up in the file integrity check.
Automated response: Calendar timezone issue for evening events in negative timezone shifts

This fixes evening events in negative timezones (e.g. USA) so that links from the calendar don't then list the date in the wrong day.

As the calendar code in Composr is extremely complex this has been fixed by carefully adding a test case to our unit tests, and then ensuring all continue to pass.

0 guests and 0 members have recently viewed this.