Read the statement by Michael Teeuw here.
Calendar Not Displaying Recurring Events
-
@sdetweil Sorry, I’ve made a mess out of my config file the past three days figuring this out. I used the CalDav 3rd party module to create ics file, so if it’s not correct, I suppose I should download the ics directly from my calendar to troubleshoot. Perhaps the problem is in CalDav and I’m asking the questions in the wrong forum.
For a work-around, I can use the public subscription to the calendar just fine but the recurrences are shifted over one day like in a previous post in this forum you participated in. I looked at the calendarutils.js you mention in that posting for modification but I don’t see the lines that should be modified. I would rather use the ics method but will use this export method if I can get the events to be in the correct day. Can you help me with that?
-
@oldrocker point me to the post you reference…
-
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: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?