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

After upgrade (v2.1.1) multiple calendars not displaying



  • I have two calendars which would display fine before the update. After the update only the 2nd calendar displays. Has anyone else seen this?

    Thanks, Dave

    {
    module: ‘calendar’,
    header: ‘Calendar’,
    position: ‘top_left’,
    config: {
    colored: true,
    calendars: [
    {
    url: ‘https://calendar.google.com/calendar/ical/…/basic.ics’,
    color: ‘#f70000’
    },

               	 {
                       	 url: 'https://calendar.google.com/calendar/ical/.../basic.ics',
                	color: '#04f448'  
    	},
    	
                    ]
            }
    

    },



  • I am having the same issue after upgrading.



  • It doesn’t look like it has anything to do with the position of the calendar. If i switch the calendar positions it follows the calendar not the placement.



  • I have the same issue with Google Calendar private url. I have two calendars running, a private url and a public url. The private url is not working but the public url DOES work strangely enough. I have two pi’s, one updated and one not. The pi that has not been updated still has that private url and it works, but the post update does not.



  • Just for info, after upgrading to v2.2.0, this issue resurfaced. I tried replacing the ical scripts as described here: https://github.com/MichMich/MagicMirror/issues/839#issuecomment-298308733
    but that didn’t work for me. I used this recommendation which was posted on the forum and was overwritten when I updgraded:
    Edit this file:
    /home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js

    • Go to line 56 or search for the first occurance of “ORDINAL_BASE” and change this line:
      ORDINAL_BASE: new Date(1970, 0, 1), ORDINAL_BASE: new Date(1000, 0, 1), (set it to a lower year like 1900, I used 1000)
    • Then restart your magic mirror


  • @Mitch1138 said in After upgrade (v2.1.1) multiple calendars not displaying:

    Edit this file:
    /home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js

    • Go to line 56 or search for the first occurance of “ORDINAL_BASE” and change this line:
      ORDINAL_BASE: new Date(1970, 0, 1), ORDINAL_BASE: new Date(1000, 0, 1), (set it to a lower year like 1900, I used 1000)
    • Then restart your magic mirror

    This resolved the same problem for me. Thanks!