Read the statement by Michael Teeuw here.
Calendar Not Displaying Recurring Events
-
Here it is. I’d rather not have a public subscription out there but it is what it is.
-
@oldrocker yeh, I added that code already to attempt to fix this. but the rule lib keeps giving back junk. I haven’t found a way to fix this.
-
@sdetweil ok, then I’m stuck. Thanks for your help!
-
@oldrocker said in Calendar Not Displaying Recurring Events:
@sdetweil here is some information:
config: { broadcastPastEvents: true, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: 'calendar-check', broadcastPastEvents: true, maximumEntries: 100, maximumNumberOfDays: 365, url: 'http://XXXXXXXXXXXXXXXXXX/Routine.ics', name: 'Routine', color: 'yellow', auth: { user: 'XXXXXXXXXXX', pass: 'XXXXXXXXXXX', method: 'basic' }, },event
BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231111 DTEND;VALUE=DATE:20231112 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231111 END:VEVENT BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231118 DTEND;VALUE=DATE:20231119 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231118 END:VEVENTThere should be RRULES in the file. Could you find?
-
RRULES is not in the file that I could find. I also downloaded the ics directly from my Nextcloud instance and tried a manual static load like BasicUser did found here:
https://forum.magicmirror.builders/topic/13488/default-calendar-and-nextcloud-caldav
Effectively, I am cutting out the use of any 3rd party module and the recurrences are the same. The recurrences on Saturdays are correct while my recurrences on Wednesday shift to Thursdays after the first event. The ics loads just like when I pull it directly from the export url; SOME of the recurrences are a day ahead. This appears to be an issue with the default calendar and not the ics or the third party modules because the third party modules mirror what the default calendar sees and the ics file displays correctly in other applications and programs.
Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.
-
@oldrocker its rrule
here is an event using it
DTSTART;TZID=America/Los_Angeles:20221013T173000 DTEND;TZID=America/Los_Angeles:20221013T203000 RRULE:FREQ=WEEKLY;BYDAY=TH EXDATE;TZID=America/Los_Angeles:20230907T173000 DTSTAMP:20231106T004837Z UID:11ksg3ucn63ndd1034ht8mf0jr@google.com CREATED:20221012T065054Z LAST-MODIFIED:20230704T014529Z SEQUENCE:3 STATUS:CONFIRMED SUMMARY:hucklebucks trivia TRANSP:TRANSPARENT END:VEVENT -
@oldrocker said in Calendar Not Displaying Recurring Events:
Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.
see this post
-
When I concatenate the ics, I don’t find any “RULE” using grep. I’ve re-downloaded and it’s simply not there. Perhaps Nextcloud doesn’t generate it that way?
-
@oldrocker if RRULE isn’t there, then there are no repeating events
-
That’s interesting and my issue is really strange still. One series of my recurrences shifts from Wednesday to Thursday after the first one that displays. So, the first occurrence is on Wednesday, the next three are on Thursday. The other series starts on the second week of the month on a Saturday, and the recurrences are also on Saturday and nothing is wrong in that series.
-
@oldrocker some may be corrected my the code I added and some may not, or may be corrected in the wrong direction…
read my other post, you’ll see the mess we have on our hands.
-
@sdetweil there are repeating events, just not on the proper days of the week.
I believe you when you say it’s messy. I don’t know JS but I know more about it now over the past three days than I ever thought I would. I’ve never really messed around with calendars and some of this stuff. Much of it is foreign to me.
-
@oldrocker I didn’t know anything about how calendar works til 3 or 4 years ago when I decided to fix a bug in this…
been a constant battle since then…
this one has me stumped… been looking at a reliable solution for nearly a year…
garbage in, garbage out -
I’m not sure if that’s a challenge or a warning. I guess I’m going to setup a new dev environment.
-
Here is something else. In my Nextcloud calendar, I created a weekly recurring event. Each time I created the event in the first week of November, the module shifted the subsequent events one day forward. If I create the event on the second week, there is no issue that I can see and all the events are on the correct days.
The 1st week starts on Saturday, October 29 and ends on Sunday, November 4.
-
@oldrocker so much fun
-
@oldrocker node-ical has just release a new version (0.17.0) which removes the luxon library which causes all the localdate/time issues…
want to give it a try ? do
cd ~/MagicMirror npm install node-ical@latestthen start mm as usual
-
@sdetweil Thank you for this information! This solved my problem completely! My calendar was only showing one-time events after the latest update and not showing repeating events. I installed this node-ical update and now it’s back to normal! Thanks again!
-
@bk1guy awesome, glad you got it working
-
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