fmeringdal / rust-rrule

Rust crate for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://docs.rs/rrule
Apache License 2.0
72 stars 18 forks source link

DST handling: duplicates and skipped entries traversing reoccurances #115

Open mnahkies opened 5 months ago

mnahkies commented 5 months ago

In a similar vein to #109 we're experiencing some issues with zoned rrule's and daylight saving boundaries.

Specifically:

I've created a minimal reproduction here that asserts a 4 hour window to two DST boundaries for the Europe/London timezone: https://github.com/mnahkies/rust-rrule-dst-bug/blob/main/src/test.rs

I'm open to attempting a patch for this, but unsure when I'll capacity to do so.

It would be great to get some feedback whether this would likely to be accepted, or if I'm doing something silly and this isn't an issue to start with.

mnahkies commented 2 months ago

Re-tested with 0.13.0 that was recently released, and still appears to be an issue.

https://github.com/mnahkies/rust-rrule-dst-bug/commit/2862dca31c225f4a3d15c3c4a5c538316a89dd97