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
Owner

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
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
JakeHillion added 1 commit 2026-05-14 20:46:07 +01:00
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
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-05-14 20:47:28 +01:00
JakeHillion merged commit 2dbbe3fbe2 into main 2026-05-14 21:00:50 +01:00
JakeHillion deleted branch feature/mtotooukylvv 2026-05-14 21:00:50 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/personal-agent#75