Read the statement by Michael Teeuw here.
Reoccurring Calendar Entries missing in native calendar
-
I have been using MM many years with the same outlook.com based calendar. Reoccurring item issues have shown up here and there then they seem to go away, not sure if it was DST last week but they are back.
Note: the missing entries do show up in Calendar-Ext2 which I have also showing a calendar view.
I have tried updating the ical component to 17.0 and also to latest as advised in other recent threads with no change. Here is an example event that isn’t showing today but should - any guidance?Magic mirror is up to date
BEGIN:VEVENT
DESCRIPTION:\n
RRULE:FREQ=WEEKLY;UNTIL=20240128T190000Z;INTERVAL=2;BYDAY=SU;WKST=SU
UID:040000008200E00074C5B7101A82E008000000002B4EB233EA1CDA01000000000000000
010000000F079A8D9A84D0B418183D02B12849D82
SUMMARY:Call C&L
DTSTART;TZID=Central Standard Time:20231217T130000
DTEND;TZID=Central Standard Time:20231217T133000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20240317T152704Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION:
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:1
X-MICROSOFT-DONOTFORWARDMEETING:FALSE
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MICROSOFT-REQUESTEDATTENDANCEMODE:DEFAULT
X-MICROSOFT-ISRESPONSEREQUESTED:FALSE
END:VEVENT -
@lawrence_jeff said in Reoccurring Calendar Entries missing in native calendar:
DTSTART;TZID=Central Standard Time:20231217T130000
the timezone id is incorrect
it’s America/Chicago, or appropriate
the module and the calendar parser support only the industry standard IANA timezone ids
you should see errors reported where u saw the logs
Microsoft has been adding support for custom timezones to its calendar products, which creates a mess
-
@sdetweil Thanks Sam
I see node-ical seemed to add support for Microsoft timezone names in this 2020 change
https://github.com/jens-maus/node-ical/pull/18/files/25bcb9d154d158c45ff0147e832425fafacfbeae#And they have Central Standard Time in their test file. I thought this is what was used for parsing the ICS, is there another dependency or component involved?
-
@lawrence_jeff that was me adding that support. but I don’t think it uses the whole string
add
, "DEBUG"
to the config.js
logLevel property inside the bracketsand then do
pm2 stop all npm start >somefile.txt 2>$1
wait 15 seconds, ctrl-q to stop mm (if on same screen, else ctrl-c over ssh)
then look at the debug output in somefile.txt -
@sdetweil Ok - did that. No errors in the log but it doesn’t seem to be picking up the reoccurrence. Since that prior event isn’t upcoming over the next few days I can’t validate its not being listed , so I grabbed another one that has an occurrence tomorrow but isn’t showing up.
Here are all the relevant pieces
First a screenshot from Outlook.com
The snippet from the ICS file
BEGIN:VEVENT
DESCRIPTION:\n
RRULE:FREQ=WEEKLY;UNTIL=20240810T140000Z;INTERVAL=4;BYDAY=SA;WKST=SU
UID:040000008200E00074C5B7101A82E0080000000090EC232E2551DA01000000000000000
01000000089A47F724BAC3C4AB762C60FE5C3D401
SUMMARY:W med
DTSTART;TZID=Central America Standard Time:20240224T080000
DTEND;TZID=Central America Standard Time:20240224T083000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20240323T005412Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION:
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:1
X-MICROSOFT-DONOTFORWARDMEETING:FALSE
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MICROSOFT-REQUESTEDATTENDANCEMODE:DEFAULT
X-MICROSOFT-ISRESPONSEREQUESTED:FALSE
END:VEVENTThe log entry (I removed the dates and debug flat to make it easier to read)
{“type”:“VEVENT”,“params”:[],“description”:“\n”,“rrule”:{“_cache”:{“all”:false,“before”:[],“after”:[],“between”:[]},“origOptions”:{“tzid”:“America/Guatemala”,“dtstart”:“2024-02-24T14:00:00.000Z”,“freq”:2,“until”:“2024-08-10T14:00:00.000Z”,“interval”:4,“byweekday”:[{“weekday”:5}],“wkst”:{“weekday”:6}},“options”:{“freq”:2,“dtstart”:“2024-02-24T14:00:00.000Z”,“interval”:4,“wkst”:6,“count”:null,“until”:“2024-08-10T14:00:00.000Z”,“tzid”:“America/Guatemala”,“bysetpos”:null,“bymonth”:null,“bymonthday”:[],“bynmonthday”:[],“byyearday”:null,“byweekno”:null,“byweekday”:[5],“bynweekday”:null,“byhour”:[14],“byminute”:[0],“bysecond”:[0],“byeaster”:null}},“uid”:“040000008200E00074C5B7101A82E0080000000090EC232E2551DA0100000000000000001000000089A47F724BAC3C4AB762C60FE5C3D401”,“summary”:“W med”,“start”:“2024-02-24T14:00:00.000Z”,“datetype”:“date-time”,“end”:“2024-02-24T14:30:00.000Z”,“class”:“PUBLIC”,“priority”:“5”,“dtstamp”:“2024-03-22T16:33:34.000Z”,“transparency”:“OPAQUE”,“status”:“CONFIRMED”,“sequence”:“0”,“location”:“”,“MICROSOFT-CDO-APPT-SEQUENCE”:“0”,“MICROSOFT-CDO-BUSYSTATUS”:“BUSY”,“MICROSOFT-CDO-INTENDEDSTATUS”:“BUSY”,“MICROSOFT-CDO-ALLDAYEVENT”:“FALSE”,“MICROSOFT-CDO-IMPORTANCE”:“1”,“MICROSOFT-CDO-INSTTYPE”:“1”,“MICROSOFT-DONOTFORWARDMEETING”:“FALSE”,“MICROSOFT-DISALLOW-COUNTER”:“FALSE”,“MICROSOFT-REQUESTEDATTENDANCEMODE”:“DEFAULT”,“MICROSOFT-ISRESPONSEREQUESTED”:“FALSE”,“method”:“PUBLISH”,“recurrences”:{“2024-03-23”:{“type”:“VEVENT”,“params”:[],“description”:“\n”,“uid”:“040000008200E00074C5B7101A82E0080000000090EC232E2551DA0100000000000000001000000089A47F724BAC3C4AB762C60FE5C3D401”,“recurrenceid”:“2024-03-23T13:00:00.000Z”,“summary”:“W med”,“start”:“2024-03-22T13:00:00.000Z”,“datetype”:“date-time”,“end”:“2024-03-22T13:30:00.000Z”,“class”:“PUBLIC”,“priority”:“5”,“dtstamp”:“2024-03-22T16:33:34.000Z”,“transparency”:“OPAQUE”,“status”:“CONFIRMED”,“sequence”:“0”,“location”:“”,“MICROSOFT-CDO-APPT-SEQUENCE”:“0”,“MICROSOFT-CDO-BUSYSTATUS”:“BUSY”,“MICROSOFT-CDO-INTENDEDSTATUS”:“BUSY”,“MICROSOFT-CDO-ALLDAYEVENT”:“FALSE”,“MICROSOFT-CDO-IMPORTANCE”:“1”,“MICROSOFT-CDO-INSTTYPE”:“3”,“MICROSOFT-DONOTFORWARDMEETING”:“FALSE”,“MICROSOFT-DISALLOW-COUNTER”:“FALSE”,“MICROSOFT-REQUESTEDATTENDANCEMODE”:“DEFAULT”,“MICROSOFT-ISRESPONSEREQUESTED”:“FALSE”},“2024-05-18”:{“type”:“VEVENT”,“params”:[],“description”:“\n”,“uid”:“040000008200E00074C5B7101A82E0080000000090EC232E2551DA0100000000000000001000000089A47F724BAC3C4AB762C60FE5C3D401”,“recurrenceid”:“2024-05-18T13:00:00.000Z”,“summary”:“W med”,“start”:“2024-05-17T13:00:00.000Z”,“datetype”:“date-time”,“end”:“2024-05-17T13:30:00.000Z”,“class”:“PUBLIC”,“priority”:“5”,“dtstamp”:“2024-03-22T16:33:34.000Z”,“transparency”:“OPAQUE”,“status”:“CONFIRMED”,“sequence”:“0”,“location”:“”,“MICROSOFT-CDO-APPT-SEQUENCE”:“0”,“MICROSOFT-CDO-BUSYSTATUS”:“BUSY”,“MICROSOFT-CDO-INTENDEDSTATUS”:“BUSY”,“MICROSOFT-CDO-ALLDAYEVENT”:“FALSE”,“MICROSOFT-CDO-IMPORTANCE”:“1”,“MICROSOFT-CDO-INSTTYPE”:“3”,“MICROSOFT-DONOTFORWARDMEETING”:“FALSE”,“MICROSOFT-DISALLOW-COUNTER”:“FALSE”,“MICROSOFT-REQUESTEDATTENDANCEMODE”:“DEFAULT”,“MICROSOFT-ISRESPONSEREQUESTED”:“FALSE”}}}Here is how it parsed it:
start: Sat Feb 24 2024 08:00:00 GMT-0600 (Central Standard Time)
end:: Sat Feb 24 2024 08:30:00 GMT-0600 (Central Standard Time)
duration: 1800000
title: W med
Search for recurring events between: Fri Mar 22 2024 11:33:42 GMT-0500 (Central Daylight Time) and Fri Mar 21 2025 23:59:59 GMT-0500 (Central Daylight Time)
Title: W med, with dates: [null,null,null,null,null,null,“2024-08-10T15:00:00.000Z”]
event.recurrences: [object Object]
recurring date is Sat Aug 10 2024 09:00:00 GMT-0500 (Central Daylight Time) offset is 300
recurring date is Sat Aug 10 2024 09:00:00 GMT-0500 (Central Daylight Time) offset is 5 Hour is 09
Corrected startDate: Sat Aug 10 2024 09:00:00 GMT-0500 (Central Daylight Time)
initial tz=America/Guatemala
corrected tz=America/Guatemala
start date/time=Sat Feb 24 2024 08:00:00 GMT-0600 (Central Standard Time)
start offset=-360
start date/time w tz =Sat Feb 24 2024 08:00:00 GMT-0600 (Central Standard Time)
event date=Sat Aug 10 2024 09:00:00 GMT-0500 (Central Daylight Time)
event offset=-360 hour=8 event date=Sat Aug 10 2024 09:00:00 GMT-0500 (Central Daylight Time)
adjustHours=0
duration: 1800000
saving event: -
@lawrence_jeff said in Reoccurring Calendar Entries missing in native calendar:
Title: W med, with dates: [null,null,null,null,null,null,“2024-08-10T15:00:00.000Z”]
this is the rrule.between result.
each null is supposed to be a date/time
so, another rrule bug .