-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some calendars won't load #839
Comments
So, here is what I'm getting when I do
|
After a little more digging, it looks like this is caused by recurring events that have more than one |
Hi, I also have the same problem. It looks like there are different ways to deal with multiple EXDATA in the ics file. others return it like: The last method is working fine, but the first method, is causing the toISOstring error. |
So this is SUPER hacky but it got my calendar to load. The only thing is it takes just the first exdate and ignores the rest so consider it an alpha-version, not sure if I'll have to time make it better so if anyone else has the time I'd appreciate the help: (Splice function from this Stack overflow question) MagicMirror/modules/default/calendar/vendor/ical.js:200
|
Hi, Took your example and played around a bit. This is loading my calendar, and it's including all exceptions not only the first one
|
Hi, any chance to give me an hint which file to edit, to apply that super hacky workarround? The publicly published .ical file from my Exchange 2016 Calendar creates exactly the same error since the MM upgrade:
|
The file to edit is |
AWESOME! works like a charm. Thanks a lot. Cheers. |
tgeimer suggested editing |
I made an issue on the rrule repo here, maybe we can get official change instead of a local version. I was looking into the code and it doesn't look like it would be easy to inject our own |
I think the best approach is indeed forking one of the libs and maintaining it ourselves. Any volunteer? 😄 |
Where in MagicMirror/modules/default/calendar/vendor/ical.js do you add those lines @DutchDynamics ? |
Hi, I attached the versions of ical.js and node-ical.js that i'm currently using |
Note: I've testing the patch proposed before |
Edits by coderaaron and DutchDynamics fixed this for me also as I had the same exact issue. Thanks all!!! |
Thanks @coderaaron and @DutchDynamics!! I've been having the same problem with the exchange calendar and copied your files to my magic mirror and now it's working! |
Same here! Thanks a lot! |
@roramirez Can I close this issue? |
I was trying to use ical from outlook.com and it didn't work until I replaced the .js files provided by @coderaaron and @DutchDynamics, thanks! |
Fixed it for me :) |
Closed due to inactivity. Feel free to reopen. |
Just ran into the same problem with the current verion. Any reason why the fix didn't make it into master? |
Also just ran into this with an outlook.com calendar. Fix in this thread did correct it |
Lately a lot of users complain about that some of their calendar files wont be loaded anymore in v2.1.1
https://forum.magicmirror.builders/topic/2221/after-upgrade-v2-1-1-multiple-calendars-not-displaying
https://forum.magicmirror.builders/topic/2208/calendar-shows-no-entries-after-mm-update
The text was updated successfully, but these errors were encountered: