Read the statement by Michael Teeuw here.
Calendar Not Displaying Recurring Events
-
@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:VEVENT
There 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.