<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Calendar - only all day events showing - moment timezone issue]]></title><description><![CDATA[<p dir="auto">In my magic-mirror I am using the default calendar module and am connected to a microsoft (<a href="http://Outlook.com" target="_blank" rel="noopener noreferrer nofollow ugc">Outlook.com</a>) calendar. It is only showing events from a birthday calendar (all-day events). It appears as though moment-timezone is struggling to parse the timezone information from the event. Any ideas as to what might be the problem? The log has a million entries like the one below:</p>
<p dir="auto">event={“type”:“VEVENT”,“params”:[],“uid”:“[REMOVED]”,“summary”:“[REMOVED]”,“start”:“2021-07-12T14:00:00.000Z”,“datetype”:“date-time”,“end”:“2021-07-12T15:00:00.000Z”,“class”:“PUBLIC”,“priority”:“5”,“dtstamp”:“2021-03-26T00:58:12.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”:“0”,“MICROSOFT-DONOTFORWARDMEETING”:“FALSE”,“MICROSOFT-DISALLOW-COUNTER”:“FALSE”}<br />
<strong>[25.03.2021 20:59.47.298] [DEBUG]  start=Mon Jul 12 2021 10:00:00 GMT-0400 (Eastern Daylight Time) end=Mon Jul 12 2021 11:00:00 GMT-0400 (Eastern Daylight Time)<br />
[25.03.2021 20:59.47.304] [DEBUG] initial tz=Customized Time Zone<br />
[25.03.2021 20:59.47.312] [DEBUG] corrected TZ=null<br />
[25.03.2021 20:59.47.326] [DEBUG] corrected tz=Customized Time Zone<br />
[25.03.2021 20:59.47.333] [DEBUG] start date/time=Mon Jul 12 2021 10:00:00 GMT-0400 (Eastern Daylight Time)<br />
[25.03.2021 20:59.47.341] [ERROR] Moment Timezone has no data for Customized Time Zone. See <a href="http://momentjs.com/timezone/docs/#/data-loading/." target="_blank" rel="noopener noreferrer nofollow ugc">http://momentjs.com/timezone/docs/#/data-loading/.</a></strong><br />
[25.03.2021 20:59.47.351] [DEBUG] start offset=0<br />
[25.03.2021 20:59.47.364] [ERROR] Moment Timezone has no data for Customized Time Zone. See <a href="http://momentjs.com/timezone/docs/#/data-loading/" target="_blank" rel="noopener noreferrer nofollow ugc">http://momentjs.com/timezone/docs/#/data-loading/</a>.<br />
[25.03.2021 20:59.47.369] [DEBUG] start date/time w tz =Mon Jul 12 2021 10:00:00 GMT-0400 (Eastern Daylight Time)<br />
[25.03.2021 20:59.47.382] [ERROR] Moment Timezone has no data for Customized Time Zone. See <a href="http://momentjs.com/timezone/docs/#/data-loading/" target="_blank" rel="noopener noreferrer nofollow ugc">http://momentjs.com/timezone/docs/#/data-loading/</a>.<br />
[25.03.2021 20:59.47.393] [DEBUG] event date=Mon Jul 12 2021 10:00:00 GMT-0400 (Eastern Daylight Time)<br />
[25.03.2021 20:59.47.400] [DEBUG] event offset=0 hour=14 event date=Mon Jul 12 2021 10:00:00 GMT-0400 (Eastern Daylight Time)<br />
[25.03.2021 20:59.47.407] [DEBUG] adjustHours=0<br />
[25.03.2021 20:59.47.424] [DEBUG] have entries<br />
[25.03.2021 20:59.47.431] [DEBUG]</p>
]]></description><link>https://forum.magicmirror.builders/topic/14835/calendar-only-all-day-events-showing-moment-timezone-issue</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 10:40:00 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14835.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Mar 2021 01:18:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Wed, 08 Sep 2021 14:52:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> those are Microsoft-isms.</p>
<p dir="auto">I put code in node-ical and mm to handle, but the definitions aren’t parsed.</p>
<p dir="auto">the supporting nodejs libs don’t understand custom timezones, so I convert to iana  tz.</p>
]]></description><link>https://forum.magicmirror.builders/post/94294</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94294</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Sep 2021 14:52:56 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Mon, 06 Sep 2021 13:14:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> none of the libraries digest the tz definitions. mm doesn’t either.</p>
]]></description><link>https://forum.magicmirror.builders/post/94259</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94259</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Sep 2021 13:14:07 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Mon, 06 Sep 2021 07:08:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
It appears as though the issue arises when the calendar has custom (non-standard) timezones. node-ical parses the file properly however there is no code to digest the parsed VTIMEZONE entries and apply them to referencing events. Looking at this VTIMEZONE entry, it seems rather hack-y so it probably is not worth it to parse.  I notice that all of the weird entries are originate from an iPhone.</p>
<p dir="auto">Here’s an example ical file of an offending text:</p>
<pre><code>BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VTIMEZONE
TZID:Customized Time Zone
BEGIN:STANDARD
DTSTART:16011104T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20210906T061657Z
DTEND;TZID="Customized Time Zone":20210605T110000
DTSTAMP:20210906T061658Z
DTSTART;TZID="Customized Time Zone":20210605T100000
LAST-MODIFIED:20210906T061657Z
PRIORITY:5
SEQUENCE:0
SUMMARY;LANGUAGE=en-us:Top secret stuff
TRANSP:OPAQUE
UID:04000000[.....]
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
END:VCALENDAR
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/94249</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/94249</guid><dc:creator><![CDATA[MagicInMe]]></dc:creator><pubDate>Mon, 06 Sep 2021 07:08:15 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Mon, 12 Apr 2021 12:54:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> can u send me your ics file.  I thought we put fixes in 2.15 for this</p>
<p dir="auto">my email is the same user ID at gmail</p>
<p dir="auto">oh, wait, the fixes are in node-ical</p>
<p dir="auto">do</p>
<pre><code>cd ~/MagicMirror
npm install node-ical
</code></pre>
<p dir="auto">the restart mm</p>
]]></description><link>https://forum.magicmirror.builders/post/90567</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90567</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 12 Apr 2021 12:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Mon, 12 Apr 2021 12:44:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>  Thank you! I am running it now, I’m still getting</p>
<pre><code>[12.04.2021 08:39.20.358] [ERROR] Moment Timezone has no data for Customized Time Zone. See http://momentjs.com/timezone/docs/#/data-loading/.
</code></pre>
<p dir="auto">but it appears as though there are fewer errors and the module does seem to be displaying my events. Perhaps I have some buggy iCal events in there. If I get a chance to dive in more, I’ll see what I can update.</p>
]]></description><link>https://forum.magicmirror.builders/post/90564</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90564</guid><dc:creator><![CDATA[MagicInMe]]></dc:creator><pubDate>Mon, 12 Apr 2021 12:44:17 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Thu, 01 Apr 2021 12:38:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> the fix did NOT make 2.15, as the repo published the fixes JUST last night</p>
<p dir="auto">if u want to test/run with the new code do</p>
<pre><code>cd ~/MagicMirror
npm install node-ical
</code></pre>
<p dir="auto">restart MM</p>
<p dir="auto">same for 2.14 or 2.15</p>
]]></description><link>https://forum.magicmirror.builders/post/90176</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90176</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 01 Apr 2021 12:38:31 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Fri, 26 Mar 2021 12:04:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> perfect, thanks a bunch!</p>
]]></description><link>https://forum.magicmirror.builders/post/89932</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/89932</guid><dc:creator><![CDATA[MagicInMe]]></dc:creator><pubDate>Fri, 26 Mar 2021 12:04:27 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Fri, 26 Mar 2021 11:49:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> I don’t know. I hope soon so we can include it in the next release on April 1st</p>
]]></description><link>https://forum.magicmirror.builders/post/89930</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/89930</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 26 Mar 2021 11:49:43 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Fri, 26 Mar 2021 04:03:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Great, thank you! What do you think the ETA would be? Just for my own sanity :P</p>
]]></description><link>https://forum.magicmirror.builders/post/89914</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/89914</guid><dc:creator><![CDATA[MagicInMe]]></dc:creator><pubDate>Fri, 26 Mar 2021 04:03:51 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar - only all day events showing - moment timezone issue on Fri, 26 Mar 2021 01:45:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magicinme" aria-label="Profile: magicinme">@<bdi>magicinme</bdi></a> yes, fun times.  Microsoft has lots of non-standard timezone definitions.</p>
<p dir="auto">I just put fixes into the ical parser we use.<br />
hopefully they will be published soon do we can update the dependency list.</p>
]]></description><link>https://forum.magicmirror.builders/post/89910</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/89910</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 26 Mar 2021 01:45:35 GMT</pubDate></item></channel></rss>