heskja / MMM-CalendarWeek

Alternative calendar module for MagicMirror.
MIT License
53 stars 22 forks source link

Some recurring events not showing up #37

Open secastles opened 4 years ago

secastles commented 4 years ago

Hi, In the last two weeks I've experienced two problems:

  1. Some calendar events started to show up a day earlier than scheduled.
  2. All new (added as of this week) recurring events do not show up at all.

In a bit of haste I replaced the events that were showing up a day early with new events. I thought that by deleting and re-adding them it might fix the issue. But then I discovered that all newly added recurring events don't show up at all. I still have an old recurring event that shows up fine though. I'm pasting relevant iCal exports below.

This is a recurring event that still shows correctly:

BEGIN:VEVENT
DTSTART;TZID=America/New_York:20190928T090000
DTEND;TZID=America/New_York:20190928T093000
RRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20191130;BYDAY=SA
DTSTAMP:20191106T145408Z
UID:blahblahblah@google.com
CREATED:20190731T154142Z
DESCRIPTION:stuff
LAST-MODIFIED:20190916T144401Z
LOCATION:the location
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:this is an old event that works fine
TRANSP:OPAQUE
END:VEVENT

This is a recurring event that does not show correctly. This event, like the event above, has an end date:

BEGIN:VEVENT
DTSTART;TZID=America/New_York:20191107T013000
DTEND;TZID=America/New_York:20191107T020000
RRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20191201T045959Z;BYDAY=TH
DTSTAMP:20191106T160251Z
UID:blahblahblah@google.com
CREATED:20191106T145202Z
DESCRIPTION:
LAST-MODIFIED:20191106T151538Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:Test5 - this has an end date
TRANSP:OPAQUE
END:VEVENT

This is a newly added recurring event without an end date. This does not show correctly:

BEGIN:VEVENT
DTSTART;TZID=America/New_York:20191107T023000
DTEND;TZID=America/New_York:20191107T030000
RRULE:FREQ=WEEKLY;BYDAY=TH
DTSTAMP:20191106T160251Z
UID:blahblahblah@google.com
CREATED:20191106T145226Z
DESCRIPTION:
LAST-MODIFIED:20191106T145226Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Test6
TRANSP:OPAQUE
END:VEVENT

This is a newly added event that works correctly but is not recurring:

BEGIN:VEVENT
DTSTART:20191107T083000Z
DTEND:20191107T090000Z
DTSTAMP:20191106T160251Z
UID:blahblahblah@google.com
CREATED:20191106T145247Z
DESCRIPTION:
LAST-MODIFIED:20191106T151551Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:Test7 - this does not repeat
TRANSP:OPAQUE
END:VEVENT

As far as I can tell the difference between the recurring event that shows correctly and the ones that do not is that:

I'm not sure why there is a discrepancy from Google. My old event doesn't have a time in the UNTIL field but my new event does.

Any ideas for further troubleshooting?

secastles commented 4 years ago

Reference to possible related issue that just popped up in the core calendar module:

https://github.com/MichMich/MagicMirror/issues/1803

secastles commented 4 years ago

Problem resolved itself over the weekend. Recurring events are now showing up correctly. I still think there's a bug though. The problem was reproducible for about a two week period where countries were shifting off of DST. Might also be related to #https://github.com/MichMich/MagicMirror/issues/1798