Bug 464176

Summary: events in a different time zone can display on the wrong day
Product: [Applications] Merkuro Reporter: Jason Craig <os-dev>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jason Craig 2023-01-12 03:46:56 UTC
SUMMARY
When events in a calendar are in a different time zone (e.g. when they are imported) they will show up on the wrong day if the local time zone puts the event on a different day from what it is in the event's time zone. Creating this bug and trying to describe this turned out to be more challenging than I thought it would be so hopefully it is clear.

STEPS TO REPRODUCE
1. Create an event in a different time zone.
2. Have the time of that event be on a different day in that time zone than in the zone of your computer (e.g. 1 AM UTC and your local time zone is EST).
3. Use the month view in Kalendar.

OBSERVED RESULT
The event shows the correct local time (e.g. 8 PM EST in the example given) but is shown on the wrong day (the day the event occurs in UTC in the example).

EXPECTED RESULT
The event should show with the correct local time as well as on the correct day.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7