Read the statement by Michael Teeuw here.
Default calendar shows no items when a series is in the calendar
-
Dear,
i am using MM version 2.8.0 with the default calendar. Because the module is not able to get my caldav directly i download it via curl into a locally file and in the config of the calendar i am just pointing to the local caldav like this:
{ module: "calendar", header: "Chaoskalender", position: "top_left", config: { colored: false, coloredSymbolOnly: false, calendars: [ { url: "http://127.0.0.1:8080/modules/calendars/chaos.ics", symbol: "calendar", } ] } },Works good so far BUT as soon as i create a series of events i get following error messages:
No toISOString function in curr.start 00)":20190909T164500 Whoops! There was an uncaught exception... TypeError: event.start.getFullYear is not a function at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:270:33 at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:18:4) at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) at Request.emit (events.js:189:13) at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1161:10) at Request.emit (events.js:189:13) at IncomingMessage.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:277:13) at IncomingMessage.emit (events.js:194:15) at endReadableNT (_stream_readable.js:1103:12) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesIn outlook, on the iphone or even in the groupware it is displayed perfectly without any issues.
So if anyone has an idea or solution to fix this issue i would be very glad in getting help here because i don´t have any ideas anymore.Thanks in advance
icey -
looks like the caldav to ics doesn’t produce the info in the format the latest code expects. (ISOStrings)
i think this is another bug. I suggest you open an issue on github for MagicMirror so someone can look at it eventually. (This is all volunteer, and anyone can propose a fix)
comment in calendarfetcher.js is
// ical.js started returning recurrences and exdates as ISOStrings without time information.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login