mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 17:50:10 +08:00
All-day events store the browser's zone as tzid but are exported as floating VALUE=DATE values, so they never reference a VTIMEZONE. The transition window for a zone was still computed from every event with that tzid, so an all-day yearly birthday from 1980 next to a timed event in the same zone made the whole export fail with "Calendar export cannot cover more than 40 years of timezone transitions." (HTTP 400), and shorter spans padded the VTIMEZONE with unneeded observances. Compute the window from the timed events in the zone, the same set _used_zones already uses to decide which zones get a VTIMEZONE.