calendar: use icalendar's get_recurrence() to respect EXDATE #75

Merged
JakeHillion merged 1 commits from feature/mtotooukylvv into main 2026-05-14 21:00:50 +01:00
1 Commits
Author SHA1 Message Date
JakeHillion 2dbbe3fbe2 calendar: use icalendar's get_recurrence() to respect EXDATE
CI / nix (push) Successful in 2m40s
EXDATE properties in recurring iCalendar events were being ignored,
so excluded occurrences still appeared in calendar listings.

Switched to using icalendar's built-in get_recurrence() method, which
correctly builds an RRuleSet including EXDATE, RDATE, and timezone
handling. This also lets us drop the direct rrule dependency since it's
now pulled in transitively by icalendar's recurrence feature.

Test plan:
- cargo test tools::calendar — all 31 tests pass
- nix flake check — all 7 checks pass
2026-05-14 20:46:00 +01:00