A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
calendar not showing
-
@johnnewhouse
In my MM your posted calendar config is working.AxLED
-
@axled thanks for checking, that’s 1 aspect eliminated.
I wonder if there are some more pi zero tweaks I need -
@johnnewhouse said in calendar not showing:
webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics
in url should look like
url: “http://www.calendarlabs.com/templates/ical/US-Holidays.ics”, -
@johnnewhouse the issue is in the for loop the keyword that is used is an ES6 variant: the
let
keyword. Flip it tovar
and voilá, golden!i.e.:
listContainsEvent: function(eventList, event){ for(var evt of eventList){ if(evt.title === event.title && parseInt(evt.startDate) === parseInt(event.startDate)){ return true;
Edit: I submitted a PR to fix this:
https://github.com/MichMich/MagicMirror/pull/1381 -
@johnnewhouse Could/Would you mark my last post as the answer? Not sure if you saw my previous comment, as I edited the post to
@
you :)