Read the statement by Michael Teeuw here.
MMM-MyCalendar
-
I worked with @PCPAYN3 over chat to figure out this issue. For anyone else this might help, the problem was as follows:
The following error came up in the log:
Error: dates lower than Thu Jan 01 1970 00:00:00 GMT-0500 (EST) are not supported
A bit of Googling pointed me to this thread:
https://forum.magicmirror.builders/topic/2208/calendar-shows-no-entries-after-mm-update/29?page=3Apparently the problem is that there is an entry in the calendar that has a date prior to Jan 1, 1970. The solution was to edit the following file:
/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js
and change the
ORDINAL_BASE
property on line 56 to an earlier date.example, I changed:
ORDINAL_BASE: new Date(1970, 0, 1),
to
ORDINAL_BASE: new Date(1900, 0, 1),
and then the calendar worked.
-
@j.e.f.f Hi Jeff! I love your module and its been easily booting up nicely. However, I tried adding two of my google calendars on it, and as I booted the module it up, it loaded and said no upcoming events. While today I dont have any events, tomorrow I do. I set the max number of days in the future to a huge number but stilll nothing. Any ideas?
-
@zzaidi148 Can you confirm that you got your Gmail ICS link by following the instructions here?
https://www.smsclientreminders.com/how_to_share_your_calendar_with_other_applications#googleIf so, send me a private message and I’ll troubleshoot your config.
-
@j.e.f.f Thank You! Spent 3 days trying to figure this out after my SD card corrupted and I had to rebuild my MM.
(making sure I remember where I store my backup .img) -
Hi all. Has someone seen this? Today ist the 4th. The second term is wrong “heute” (today) and the third term is correct “morgen” (tomorrow)
-
@Buggy
I don’t know why creater leave this issue until now, but there is a hot-fix about that.
https://github.com/jclarke0000/MMM-MyCalendar/issues/3 -
@Sean Thank you. I will apply this hot-fix.
-
@Sean I’m currently moving to the UK, so I haven’t had time to fix this. If the hot fix worked for you, then great! I probably won’t get around to addressing this until sometime in the new year.
-
@j.e.f.f Hi all, firstly thanks for this module - it’s fab. I’m having the exact same issue as above with today/tomorrow not working properly. I tried applying the hotfix, but it didn’t seem to work for me (though that was quite a way beyond my skill level so I could have done that wrong!). Has anyone else got this sorted?
-
Hello,
first of all thanks for the great looking module.
Unfortunately I don‘t get it up on my side…It doesnt‘t show anything no matter if I load your example ics or my iCloud calendar Url (is this supposed to work?)
Below you can see my module config, maybe someone can help me out :)
{ module: "MMM-MyCalendar", position: "top_left", config: { maximumEntries: 6, calendars: [ { url: "http://calendarlabs.com/templates/ical/US-Holidays.ics" } ] } },
Thanks in advance.
Best regards,
René