MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Calendary Won't load

  • I have three calendars modules running on the MM interface.
    The first one is a personal calendar from ical, this works perfectly, the second is a publicly available holiday calendar, and the third is a second personal calendar concerning something different.

    The first two calendars work flawlessly, however, the third when using the same coding as the first two remains as “Loading”

    When i query pm2 for logs i get this

    0|mm | (node:1055) DeprecationWarning: sys is deprecated. Use util instead.
    0|mm | Error: dates lower than Thu Jan 01 1970 00:00:00 GMT-0500 (EST) are not supported
    0|mm | at Object.toOrdinal (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:105:15)
    0|mm | at Iterinfo.rebuild (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:1409:35)
    0|mm | at RRule._iter (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:978:10)
    0|mm | at RRule.between (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:794:21)
    0|mm | at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:122:24
    0|mm | at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
    0|mm | at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:188:22)
    0|mm | at emitTwo (events.js:106:13)
    0|mm | at Request.emit (events.js:191:7)
    0|mm | at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1171:10)

    Additionally, this is the calendar code

    	module: 'calendar',
    	header: 'Personal',
    	position: 'top_right',
    	config: {
    		calendars: [					

  • @fuzzylogic725
    I had the same issue and fixed it:

    The hint is in line two of the logs: dates before 1970 are not permitted.

Log in to reply