<?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[TypeError: curr.start.toISOString is not a function]]></title><description><![CDATA[<p dir="auto">Today my calender has been broken with this error in debug.js:</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules/default/calendar $ node debug.js
Create fetcher ...
Create fetcher done!
/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:39
      rule += ';DTSTART=' + curr.start.toISOString().replace(/[-:]/g, '');
                                       ^

TypeError: curr.start.toISOString is not a function
    at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:39:40)
    at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:257:41)
    at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:298:20)
    at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:24)
    at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:200:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/request/request.js:1067:10)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
</code></pre>
<p dir="auto">So any idea, whats going on there?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/topic/256/typeerror-curr-start-toisostring-is-not-a-function</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 17:16:47 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/256.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jun 2016 20:58:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sat, 12 May 2018 00:26:53 GMT]]></title><description><![CDATA[<p dir="auto">it does not :-(</p>
]]></description><link>https://forum.magicmirror.builders/post/39399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39399</guid><dc:creator><![CDATA[moshinh]]></dc:creator><pubDate>Sat, 12 May 2018 00:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Fri, 11 May 2018 22:21:52 GMT]]></title><description><![CDATA[<p dir="auto">Does this work?  Confirmed?  I tried someone elses .js and it didnt :-(</p>
]]></description><link>https://forum.magicmirror.builders/post/39398</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39398</guid><dc:creator><![CDATA[moshinh]]></dc:creator><pubDate>Fri, 11 May 2018 22:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sat, 22 Apr 2017 15:27:10 GMT]]></title><description><![CDATA[<p dir="auto">Apologies…my dropbox links dropped out.<br />
Here are the updated files:<br />
<a href="https://www.dropbox.com/sh/xvlusz1po4tvq24/AABF9ZuCL5j-ok4xfnYA5JsHa?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dropbox.com/sh/xvlusz1po4tvq24/AABF9ZuCL5j-ok4xfnYA5JsHa?dl=0</a></p>
<p dir="auto">This has not been tested with the latest version. I bought 6 different types of mirrors (glass and acrylic) and couldn’t find what i was looking for so gave up the dream for now…</p>
]]></description><link>https://forum.magicmirror.builders/post/20182</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/20182</guid><dc:creator><![CDATA[chadderwick]]></dc:creator><pubDate>Sat, 22 Apr 2017 15:27:10 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 19 Apr 2017 20:11:31 GMT]]></title><description><![CDATA[<p dir="auto">can you maybe post your solution? that would be great</p>
<p dir="auto">thanks bangee</p>
]]></description><link>https://forum.magicmirror.builders/post/19969</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/19969</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Wed, 19 Apr 2017 20:11:31 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sun, 26 Feb 2017 20:21:22 GMT]]></title><description><![CDATA[<p dir="auto">So I ran into this problem and have a fix. I have uploaded the files to drop box for know. If this fixes others, i’ll look into updating the project.</p>
<p dir="auto">There are 2 files that need updated:<br />
/home/pi/MagicMirror/modules/default/calendar/vendor/node-ical.js<br />
line 33<br />
<a href="https://dl.dropboxusercontent.com/u/1184191/node-ical.js" target="_blank" rel="noopener noreferrer nofollow ugc">https://dl.dropboxusercontent.com/u/1184191/node-ical.js</a></p>
<p dir="auto">/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js<br />
line 97<br />
<a href="https://dl.dropboxusercontent.com/u/1184191/ical.js" target="_blank" rel="noopener noreferrer nofollow ugc">https://dl.dropboxusercontent.com/u/1184191/ical.js</a></p>
]]></description><link>https://forum.magicmirror.builders/post/15924</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15924</guid><dc:creator><![CDATA[chadderwick]]></dc:creator><pubDate>Sun, 26 Feb 2017 20:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sun, 27 Nov 2016 12:55:27 GMT]]></title><description><![CDATA[<p dir="auto">Ok, :-) but actually I don’t no where to implement this in js :-)</p>
<p dir="auto">Can someone give me a hint where to place my <code>str_replace</code> (UTC+00:00) in DTSTART variable?</p>
<p dir="auto">Thanks ;-)</p>
]]></description><link>https://forum.magicmirror.builders/post/8578</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8578</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Sun, 27 Nov 2016 12:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sat, 26 Nov 2016 12:22:14 GMT]]></title><description><![CDATA[<p dir="auto">I suggest you fork the project, implement the fix that works for you and send me a PR. That way you can test it and others can benefit from your solution. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/8530</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8530</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Sat, 26 Nov 2016 12:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sat, 26 Nov 2016 09:18:41 GMT]]></title><description><![CDATA[<p dir="auto">so now I found something new:</p>
<p dir="auto">in my Calendar the DTSTART is set to:<br />
<code>DTSTART;TZID="(UTC+00:00) Monrovia, Reykjavik":20161028T200000</code></p>
<p dir="auto">when I remove (UTC+00:00) everything works fine.</p>
<p dir="auto">Then it looks like this:<br />
<code>DTSTART;TZID="Monrovia, Reykjavik":20161028T200000</code></p>
<p dir="auto">I’ve used a PHP Script to do this.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> can you implement this in the js script? or what will I need to replace for testing?</p>
<pre><code>        $ch = curl_init();

        // set url
        curl_setopt($ch, CURLOPT_URL, "https://ical.url/calendar.ics");
        curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
        curl_setopt($ch, CURLOPT_HEADER, false);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
        curl_setopt($ch, CURLOPT_COOKIEJAR, "blabla");

            // $output contains the output string
        $output = curl_exec($ch);

        // close curl resource to free up system resources
        curl_close($ch);
        $response = new Response();

        $output = str_replace('(UTC+00:00) ', '', $output);

        $response-&gt;setContent($output);
        $response-&gt;setStatusCode(Response::HTTP_OK);

        $response-&gt;headers-&gt;set('Content-type', 'text/calendar');

        return $response;
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/8526</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8526</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Sat, 26 Nov 2016 09:18:41 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Sat, 29 Oct 2016 06:15:27 GMT]]></title><description><![CDATA[<p dir="auto">I’m just starting with my MagicMirror today and am also having this issue.<br />
I have two calendars,</p>
<ol>
<li>Office 365 - gives this issue</li>
<li>google - loads, but doesn’t display all events in my calendar</li>
</ol>
]]></description><link>https://forum.magicmirror.builders/post/7235</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7235</guid><dc:creator><![CDATA[clumsy_ninja]]></dc:creator><pubDate>Sat, 29 Oct 2016 06:15:27 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 31 Aug 2016 08:32:00 GMT]]></title><description><![CDATA[<p dir="auto">nope, still same here… :-(</p>
]]></description><link>https://forum.magicmirror.builders/post/4172</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4172</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Wed, 31 Aug 2016 08:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 31 Aug 2016 07:23:50 GMT]]></title><description><![CDATA[<p dir="auto">Any update on this? I’m also using office365 calendar and my Calendar randomly stopped working. I’ve tried the node debug.js and just get the below. <a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a>  <a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a></p>
<pre><code>pi@rpi3:~/MagicMirror/modules/default/calendar $ sudo node debug.js
Create fetcher ...
Create fetcher done! 
[ { title: 'Max',
    startDate: '1493568000000',
    endDate: '1493654400000',
    fullDayEvent: true,
    firstYear: 1990 },
  { title: 'Someone',
    startDate: '1493740800000',
    endDate: '1493827200000',
    fullDayEvent: true,
    firstYear: 2010 },
  { title: 'Another',
    startDate: '1493913600000',
    endDate: '1494000000000',
    fullDayEvent: true,
    firstYear: 2000 },
  { title: 'Event',
    startDate: '1494086400000',
    endDate: '1494172800000',
    fullDayEvent: true,
    firstYear: 1980 } ]
------------------------------------------------------------
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/4170</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4170</guid><dc:creator><![CDATA[eugenelai]]></dc:creator><pubDate>Wed, 31 Aug 2016 07:23:50 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 03 Aug 2016 07:43:39 GMT]]></title><description><![CDATA[<p dir="auto">Did you tryout the develop branch yet? It might include some changes that could help you.</p>
]]></description><link>https://forum.magicmirror.builders/post/3310</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/3310</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Wed, 03 Aug 2016 07:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 03 Aug 2016 07:19:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> I still have these problems with office365 calender :-(<br />
Did you found a solution for this issue?</p>
]]></description><link>https://forum.magicmirror.builders/post/3309</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/3309</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Wed, 03 Aug 2016 07:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 06 Jul 2016 13:10:01 GMT]]></title><description><![CDATA[<p dir="auto">i’ve sent you the working on. i don’t know why, but most of the time, the calendar is working find.<br />
And sometimes there is this bug. I’ve sent you a diff file, with the differences between the files.</p>
]]></description><link>https://forum.magicmirror.builders/post/2273</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2273</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Wed, 06 Jul 2016 13:10:01 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 06 Jul 2016 09:58:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bangee" aria-label="Profile: Bangee">@<bdi>Bangee</bdi></a> Did not have any time to look into this … I’m sorry! Did I understand it correctly that you managed to solve it with the new calendar feed you sent me?</p>
]]></description><link>https://forum.magicmirror.builders/post/2262</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2262</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Wed, 06 Jul 2016 09:58:33 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Thu, 30 Jun 2016 12:58:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> did you find the problem?</p>
]]></description><link>https://forum.magicmirror.builders/post/2107</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2107</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Thu, 30 Jun 2016 12:58:05 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Fri, 24 Jun 2016 08:30:17 GMT]]></title><description><![CDATA[<p dir="auto">yeah, no problem. today my calendar is running. I’ve made no changes…</p>
<p dir="auto">strange, I’ve sent you the link to the working one.</p>
<p dir="auto">Thanks! :hand_splayed_tone1:</p>
]]></description><link>https://forum.magicmirror.builders/post/1909</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1909</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Fri, 24 Jun 2016 08:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Thu, 23 Jun 2016 12:58:55 GMT]]></title><description><![CDATA[<p dir="auto">Got it. Thanks. Will probably be able to look into this next week. Is that ok?</p>
]]></description><link>https://forum.magicmirror.builders/post/1889</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1889</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Thu, 23 Jun 2016 12:58:55 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Thu, 23 Jun 2016 12:36:10 GMT]]></title><description><![CDATA[<p dir="auto">please give me your Mailadress, I’ll share my Calendar with you. :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/1887</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1887</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Thu, 23 Jun 2016 12:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Thu, 23 Jun 2016 10:11:33 GMT]]></title><description><![CDATA[<p dir="auto">Do you have a calendar feed which I can test that gives the error?</p>
]]></description><link>https://forum.magicmirror.builders/post/1884</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1884</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Thu, 23 Jun 2016 10:11:33 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Thu, 23 Jun 2016 06:47:13 GMT]]></title><description><![CDATA[<p dir="auto">she has different events in her calendar, but the all the other things are the same as mine.</p>
]]></description><link>https://forum.magicmirror.builders/post/1882</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1882</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Thu, 23 Jun 2016 06:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 22 Jun 2016 21:14:44 GMT]]></title><description><![CDATA[<p dir="auto">Does she have the same events as you? Setup the same way? Same time zones configured?</p>
]]></description><link>https://forum.magicmirror.builders/post/1873</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1873</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Wed, 22 Jun 2016 21:14:44 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 22 Jun 2016 20:59:19 GMT]]></title><description><![CDATA[<p dir="auto">ok, my girlfriends calnedar is working. also with office 365 :-) so stupid…</p>
]]></description><link>https://forum.magicmirror.builders/post/1870</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1870</guid><dc:creator><![CDATA[Bangee]]></dc:creator><pubDate>Wed, 22 Jun 2016 20:59:19 GMT</pubDate></item><item><title><![CDATA[Reply to TypeError: curr.start.toISOString is not a function on Wed, 22 Jun 2016 16:23:33 GMT]]></title><description><![CDATA[<p dir="auto">Basically one of us has to find the time to investigate. The way Office386 creates its dates is really odd. Leave it to Microsoft to break things … as always.</p>
]]></description><link>https://forum.magicmirror.builders/post/1858</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1858</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Wed, 22 Jun 2016 16:23:33 GMT</pubDate></item></channel></rss>