Skip to content

[Bug] Incorrect time(s) for recurring UTC event #1973

Description

@FestplattenSchnitzel

(funny, GitHub won't let me upload an ICS file …)

The first event (starting) in 2022-02, call it february.ics.

BEGIN:VCALENDAR
PRODID:icsbugs.example.org
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Some event with bugs
RRULE:FREQ=WEEKLY;INTERVAL=2
DTSTART:20220205T180000Z
DTEND:20220205T190000Z
END:VEVENT
END:VCALENDAR

The second event (starting) in 2022-04, call it april.ics (same as above with month changed).

BEGIN:VCALENDAR
PRODID:icsbugs.example.org
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Some event with bugs
RRULE:FREQ=WEEKLY;INTERVAL=2
DTSTART:20220405T180000Z
DTEND:20220405T190000Z
END:VEVENT
END:VCALENDAR

Since DSTART is in UTC (also see RFC 5545 section DATE-TIME FORM #2, page 34) one would expect the event "survives" Daylight saving time changes in the users time zone. As a result, the (initial) date of such an event should not matter, i.e. every future recurrence starts at 1800 UTC.

That is not the case currently. At the moment (2023-02-09) february.ics events correctly start at 1800 UTC (resp. my local time) whereas april.ics events incorrectly start at 1900 UTC (rep. my local time). (In other words: the event time is constant against the users local time zone no matter DST or not.)
Also when going forward in the calender to sometime 2023-04 (after Daylight saving time switch) the times stay the same although one would expect them to change since time zone changed (and time is UTC).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions