Skip to content
Commit 9580426c authored by Glen Ditchfield's avatar Glen Ditchfield 🐛 Committed by Glen Ditchfield
Browse files

Handle dissociation in distant time zones

The Month and Agenda views display incidences on dates in the local
time zone;  an event on the 22nd at 06:00 Asia/Tokyo time is displayed
on the 21st if the local time zone is UTC or further west.

`CalendarView::dissociateOccurrences()` used the local date to calculate
recurrence IDs for recurring incidences, without considering time zones.

Example event:
- start 2022-09-22 06:00 Asia/Tokyo
- end   2022-09-22 07:00 Asia/Tokyo
- repeat daily, 3 times.
- dissociate the first occurrence.

The dissociated event has
"RECURRENCE-ID;TZID=Asia/Tokyo:20220921T060000"
which is invalid.
parent 7f791645
Pipeline #247364 passed with stage
in 5 minutes and 24 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment