Calendar 'Loading...' issue with iCloud
I have seen a problem when using an iCloud url with the calendar module that I thought I’d post in case anyone else runs into the issue.
The symptom is the calendar sticks with the ‘Loading…’ message but never loads. On the command line I saw the following error:
Ready to go! Please point your browser to: http://localhost:8080 Create new calendar fetcher for url: http://p02-calendarws.icloud.com/ca/subscribe/1/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Interval: 300000 Whoops! There was an uncaught exception... [Error: Invalid UNTIL value: 20160730T115959] 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/issues
With Mitchs support the problem has been traced to the
rrulelibrary which handles recurring calendar events. There is an open issue on the library here:
It seems the library is strictly following RFC2445 detailing how UTC dates work, but it seems not every calendar provider is structuring the dates per RFC2445 when they are set to a local time.
I’ve added the problem I’m seeing to the issue 145. I hope that helps anyone else encountering the same issue.