Read the statement by Michael Teeuw here.
[ERROR] Moment Timezone has no data for Customized Time Zone
-
Hello all,
I just upgraded to version 2.17.1 and see this error. It is in the deault app Calendar.
What can I change to stop this error?
Thanks in advance. -
@klassieker 2.15 and above have special code to work around that problem… (I know , I added it) but this is for MS 365 cals.
can u show me a cal entry from the ics file (use the url to download the file, and then u can edit it, as it is just text)
a cal event starts with BEGIN:VEVENT
and ends with END:VEVENT -
@sdetweil
Hi Sam, I use a special agenda from office 365 for the calender module
Here is the information. Maybe I can change something in this agenda instead of the special code as work around?BEGIN:VEVENT UID: .... SUMMARY:Verpakkingen DTSTART;TZID=Customized Time Zone:20210107T080000 DTEND;TZID=Customized Time Zone:20210107T090000 CLASS:PUBLIC PRIORITY:5 DTSTAMP:20211030T090840Z 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:0 X-MICROSOFT-DONOTFORWARDMEETING:FALSE X-MICROSOFT-DISALLOW-COUNTER:FALSE END:VEVENTThanks in advance
-
@klassieker
Current timezone in the agenda.
-
@klassieker ok, its just noise, doesn’t hurt anything…
BUT if u want to test getting rid of the message do this
edit ~/MagicMirror/modules/default/calendar/calendarutils.js
if (event.start.tz.includes(" ")) { // this is line 37 , not changed let tz = null // first replacement line // if the tz is the MS customized TZ if(event.start.tz ==='Customized Time Zone') // use the locally set tz tz=moment.tz.guess() else // use the lookup table to get the IANA name as moment and date don't know MS timezones tz = CalendarUtils.getIanaTZFromMS(event.start.tz); // last replacement line Log.debug("corrected TZ=" + tz); // line not to be changedreplace the lines BETWEEN line 37 and the last line (also not changed)
with first replacement line thru last replacement line
so it looks like that -
@sdetweil
Hi Sam,
I changed the rows and it works, no more noise.
But what if the module is updated bu the developer?
Thank you very much, -
@klassieker you were testing… I will submit a change request … next release is January 1.
-
@sdetweil Thanks, I will close this topic as solved
-
S spitzlbergerj referenced this topic on
-
T thger1312 referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login