This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use naive times in RRULE spec to respect local time definitions
Convert RRULE document spec to always use naive date/time definitions for portions like DTSTART and RDATE instead of UTC timestamps, to avoid situations where a repeating event starting at 9am each day ends up with later occurrences starting at 8am or 10am instead because of daylight savings changes during the course of the repetition. This change had knock-on effects when comparing existing Occurrence datetimes against RRULE-generated datetimes, since the former are often timezone-aware and the latter are now always naive datetimes.
- Loading branch information
Showing
2 changed files
with
112 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters