MagicMirrorOrg/MagicMirror

Calendar events can have recurrences after the RRULE recurrence end date

jkriegshauser opened this issue · 2 comments

I have two calendar events. First:

BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240229T160000
DTEND;TZID=America/Los_Angeles:20240229T190000
RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20240307T075959Z;BYDAY=TH
DTSTAMP:20240307T180618Z
CREATED:20231231T000501Z
LAST-MODIFIED:20231231T005623Z
SEQUENCE:2
STATUS:CONFIRMED
SUMMARY:My event
TRANSP:OPAQUE
END:VEVENT

Second:

BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240307T160000
DTEND;TZID=America/Los_Angeles:20240307T190000
RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20240316T065959Z;BYDAY=TH
DTSTAMP:20240307T180618Z
CREATED:20231231T000501Z
LAST-MODIFIED:20231231T005623Z
SEQUENCE:3
STATUS:CONFIRMED
SUMMARY:My event
TRANSP:OPAQUE
END:VEVENT

Actual: Event though the first's rrule 'until' date ends before second's dtstart, they are both being created for 3/7/2024.

Expected: the first event does not display on 3/7/2024

(Fix incoming and PR will be created soon)

the uuid field is the unique identifier

the uuid field is the unique identifier

Hey Sam, thanks for commenting. I'm not sure what it means in the context of the bug though? The first event should end before the second event, but both events are being shown (unless hideDuplicates is on, which is just suppressing the problem)