<?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[MMM-MyCalendar: Showing wrong dates (days one day in the past)?]]></title><description><![CDATA[<p dir="auto">Hey there!</p>
<p dir="auto">For some time now, i have the following issue:</p>
<p dir="auto">My MMM-MyCalendar is showing dates wrongly (one day in the past) although they are correct in the used ics-file.</p>
<p dir="auto">Like this -&gt; Halloween in the mirror-calender is the 30th (see red box in screenshot below) and in my ics-file - the start date - is the 31th (see second red box)</p>
<p dir="auto"><img src="/assets/uploads/files/1540212730600-pic.png" alt="0_1540212730779_pic.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(my pi system date/time is correct and i already updated the module - manually because i am on Mirror Version 2.1.0 - to MMM-MyCalendar version 1.0 -&gt; from here: <a href="https://github.com/jclarke0000/MMM-MyCalendar/releases/tag/v1.0" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/jclarke0000/MMM-MyCalendar/releases/tag/v1.0</a>)</p>
<p dir="auto">Other devices also using this (from my NAS provided) ics-file (like my mobile phone) displaying the dates correct (also Halloween on the 31th)</p>
<p dir="auto">Where can i fix this one day error/difference in the MMM-MyCalendar module?</p>
<p dir="auto">I got some interesting (extracted with “pm2 log --lines 100”) logfiles:</p>
<p dir="auto"><img src="/assets/uploads/files/1540308656874-bildschirmfoto-vom-2018-10-23-17-28-53.png" alt="0_1540308657056_Bildschirmfoto vom 2018-10-23 17:28:53.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1540308667642-bildschirmfoto-vom-2018-10-23-17-29-19.png" alt="0_1540308667913_Bildschirmfoto vom 2018-10-23 17:29:19.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1540308676167-bildschirmfoto-vom-2018-10-23-17-30-11.png" alt="0_1540308676464_Bildschirmfoto vom 2018-10-23 17:30:11.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The last screenshot of the log is interesting:</p>
<p dir="auto">… Cannot read property "length’ of undefined at eventDate (/…/calendarfetcher.js)…</p>
<p dir="auto">Maybe this is the key to my mystery?</p>
<p dir="auto">Again: Where can i fix this one day error/difference in the MMM-MyCalendar module?</p>
]]></description><link>https://forum.magicmirror.builders/topic/8963/mmm-mycalendar-showing-wrong-dates-days-one-day-in-the-past</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 16:29:43 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/8963.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Oct 2018 15:36:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Sun, 18 Nov 2018 08:46:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/medo" aria-label="Profile: medo">@<bdi>medo</bdi></a> said in <a href="/post/46179">MMM-MyCalendar: Showing wrong dates (days one day in the past)?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/detto65" aria-label="Profile: detto65">@<bdi>detto65</bdi></a> said in <a href="/post/46133">MMM-MyCalendar: Showing wrong dates (days one day in the past)?</a>:</p>
<blockquote>
<p dir="auto">had the same issue, it shows you the end of the event, usually because its an all day event.<br />
…<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/medo" aria-label="Profile: medo">@<bdi>medo</bdi></a> showEnd:false should do the trick,<br />
i only used de dateformats to show the dates in a more readable format.</p>
</blockquote>
</blockquote>
<p dir="auto">It seems like this has solved my problem. No wrong dates since weeks… Thanks a lot!</p>
]]></description><link>https://forum.magicmirror.builders/post/46944</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46944</guid><dc:creator><![CDATA[Medo]]></dc:creator><pubDate>Sun, 18 Nov 2018 08:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Wed, 07 Nov 2018 16:49:31 GMT]]></title><description><![CDATA[<p dir="auto">I have a similar problem. My calender seems to be broken. Holidays and my own appointments where displayed 2-3 days earlier. I dont know how to solve this problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/46465</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46465</guid><dc:creator><![CDATA[DeToasty]]></dc:creator><pubDate>Wed, 07 Nov 2018 16:49:31 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Tue, 06 Nov 2018 17:16:20 GMT]]></title><description><![CDATA[<p dir="auto">I think I fixed my issue. I decided to start over (saved my config.js, but wiped everything else), and noticed things seemed fine, except for one calendar. I changed the ordinal date as others have recommended to fix the issue with events earlier than 1970, and saw the issue come back.   I changed the date back to 1970, and the issue went away.   So ultimately I deleted all calendar items from before 1970 to fix my issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/46391</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46391</guid><dc:creator><![CDATA[lazyboy0284]]></dc:creator><pubDate>Tue, 06 Nov 2018 17:16:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Sun, 04 Nov 2018 14:14:24 GMT]]></title><description><![CDATA[<p dir="auto">I am having a similar but yet different issue.<br />
I noticed that one of my several calendars was showing activities one day early.  I added new events for testing, and they show on the correct day, but the old events show a day off still.</p>
<p dir="auto">The green events come from the same calendar.  The test events show on the right date in MM, but you can see that the Daycare event shows on the wrong date.  I tried the no end “fix”, but that didn’t fix things.  I checked my Pi and the calendar timezones and locations, and they all match (US, EN, Chicago).  Are the events cached and can the cache be cleared?  Any other debugging options that I can be helped with?</p>
<p dir="auto"><img src="/assets/uploads/files/1541340795114-gcal-right-dates.jpg" alt="0_1541340795690_GCal - Right dates.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1541340798160-mm-wrong-dates.jpg" alt="0_1541340799163_MM - Wrong dates.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Everything worked fine up until a day or two ago, and I’m not sure what changed.</p>
<p dir="auto">Thank you in advance for the help.</p>
]]></description><link>https://forum.magicmirror.builders/post/46283</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46283</guid><dc:creator><![CDATA[lazyboy0284]]></dc:creator><pubDate>Sun, 04 Nov 2018 14:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Sun, 04 Nov 2018 11:20:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/medo" aria-label="Profile: medo">@<bdi>medo</bdi></a> showEnd:false should do the trick,<br />
i only used de dateformats to show the dates in a more readable format.</p>
]]></description><link>https://forum.magicmirror.builders/post/46276</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46276</guid><dc:creator><![CDATA[Detto65]]></dc:creator><pubDate>Sun, 04 Nov 2018 11:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Thu, 01 Nov 2018 09:38:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/detto65" aria-label="Profile: detto65">@<bdi>detto65</bdi></a> said in <a href="/post/46133">MMM-MyCalendar: Showing wrong dates (days one day in the past)?</a>:</p>
<blockquote>
<p dir="auto">had the same issue, it shows you the end of the event, usually because its an all day event.<br />
…</p>
</blockquote>
<p dir="auto">Thanks detto65! I tried your suggestions for the code changes…<br />
As i do not have a wrong date in my calendar list at the moment, i will report if the changes solved my problem (when or if a wrong date appears or not).</p>
<p dir="auto">But i do have a last question:</p>
<p dir="auto">I added “showEnd: false”, but left in my configuration  these two entries untouched: "timeFormat: “HH:mm [Uhr]” and "dateFormat: “dddd” (as these two entries suit my needs a little bit better).</p>
<p dir="auto">Is the entry “showEnd: false” enough to solve my problem or do i have to alter the both stated above (time and dateFormat) also -  according to your alterations? What do you think?</p>
]]></description><link>https://forum.magicmirror.builders/post/46179</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46179</guid><dc:creator><![CDATA[Medo]]></dc:creator><pubDate>Thu, 01 Nov 2018 09:38:30 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Wed, 31 Oct 2018 09:58:31 GMT]]></title><description><![CDATA[<p dir="auto">had the same issue, it shows you the end of the event, usually because its an all day event.<br />
here is my config:<br />
just added the option showEnd: false<br />
and date and time formats according to moments.js</p>
<pre><code> module: "calendar",
                        header: "Calendar",
                        position: "top_center",
                        config: {
                                maximumEntries: 10,
                                maximumNumberOfDays: 32,
                                dateFormat: 'D MMMM - H:mm',
                                fullDayEventDateFormat: 'D MMMM',
                                timeFormat: 'absolute',
                                showEnd: false,
                                urgency: 0,
                                getRelative: 0,
                                calendars: [
etc...
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/46133</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46133</guid><dc:creator><![CDATA[Detto65]]></dc:creator><pubDate>Wed, 31 Oct 2018 09:58:31 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Fri, 26 Oct 2018 06:14:17 GMT]]></title><description><![CDATA[<p dir="auto">@j-e-f-f said in <a href="/post/45894">MMM-MyCalendar: Showing wrong dates (days one day in the past)?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/medo" aria-label="Profile: medo">@<bdi>medo</bdi></a> Do you have the same issue using the default calendar module?  My module uses the same fetching mechanism behind the scenes as the default calendar module.  It’s only a different display style.</p>
</blockquote>
<p dir="auto">Yes, with standard calendar module the same issues occur…</p>
]]></description><link>https://forum.magicmirror.builders/post/45938</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45938</guid><dc:creator><![CDATA[Medo]]></dc:creator><pubDate>Fri, 26 Oct 2018 06:14:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyCalendar: Showing wrong dates (days one day in the past)? on Thu, 25 Oct 2018 19:35:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/medo" aria-label="Profile: medo">@<bdi>medo</bdi></a> Do you have the same issue using the default calendar module?  My module uses the same fetching mechanism behind the scenes as the default calendar module.  It’s only a different display style.</p>
]]></description><link>https://forum.magicmirror.builders/post/45894</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45894</guid><dc:creator><![CDATA[j.e.f.f]]></dc:creator><pubDate>Thu, 25 Oct 2018 19:35:55 GMT</pubDate></item></channel></rss>