@rfc2822 said in Recurring events not displayed for local ics file:
RECURRENCE-ID doesn’t work without
Hi, thanks for taking a look at the file and finding out what might be the issue.
I’m not sure why Notes does not export
RDATE. A possible explanation is the fact that I’m exporting by date range instead of the whole database, so it might be that they don’t want to “rewrite” the rule to an event within the range when the rule was specified on an event outside that range, so they just export individual items (if that makes any sense technically, I’m no expert considering the finer details of the ical spec).
If the validator I linked is any good however, the resulting file is not invalid in itself, but just seems to have an uncommon/unexpected combination of fields.
Please understand that I don’t expect ICSx5 to work out the recurrence. I simply mentioned this in my title as this was the pattern I saw of items that fail to display.
I would be totally happy if for an event that has a recurrence-ID but no
RDATE, ICSx5 would fall back to importing a normal, non-recurring event for every “recurrence” found in the file.
At least an option would be nice for this behavior.
It seems most other ICS implementations do just that. I tested my file in Thunderbird, Samsung Calendar App, and a couple of online tools and the events showed up in all of them.
As a minimum, I would expect ICSx5 informing me that 6 events could not be imported, so that I know my calendar is incomplete. At the moment, I have no indication that something is missing and I might double book or miss an appointment. I know Notes might not be the most frequent source for ICS files, but I think it’s still used frequently enough that a workaround makes sense.
I will try to fix the issue on the export side, but I doubt that other than exporting everything will solve the issue, as my export code is just using the Notes
NotesCalendar.readRange() method, which has very little options. I can try to post-process the data after fetching the summary, but I don’t know yet whether this will give me the
Anyway, thanks for taking a look and keep up the great work you’ve done with this tool.
I hope that some kind of failsafe is easily implemented in ICSx5, since silently missing some items is a very unfortunate outcome for a calendar import/sync process.
Kind regards, Chris