etesync / etesync-web

An EteSync web client
https://www.etesync.com
GNU Affero General Public License v3.0
245 stars 29 forks source link

Calendar does not display reoccuring events correctly after Daylight Savings Time changes #200

Open niconfus opened 3 years ago

niconfus commented 3 years ago

Description

After daylight savings time changes, reoccurring events shift by one hour in the calendar view. See screenshots for an example.

image

image

The raw event ICAL data (see below) appears to have the correct time zone information and displays correctly in other calendar software.

Expected behavior

The event should stay at the same time (01:00 in this example) after DST changes.

Raw event ICAL

BEGIN:VCALENDAR
PRODID:-//iCal.js EteSync iOS
VERSION:2.0
BEGIN:VEVENT
UID:84fbd3d0-6ff7-4a9a-a79b-e24bc95ed420
SUMMARY:Test event
DTSTART;TZID=America/Los_Angeles:20210111T010000
DTEND;TZID=America/Los_Angeles:20210111T020000
LOCATION:
DESCRIPTION:
RRULE:FREQ=WEEKLY
LAST-MODIFIED:20210123T164941
END:VEVENT
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR
devblaz commented 2 years ago

I experience the same. These recurring events only show 1 hour shifted in the online web ui, on my phone the events are displayed correct.