You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd51527
Browse filesBrowse the repository at this point in the historyBrowse files
fix: give each recurring instance the nominal length of its DURATION (#606)
* fix: give each recurring instance the nominal length of its DURATION
expandRecurringEvent() gave every instance of a timed event the length of
its first instance in milliseconds. With DURATION:P1D and a TZID, an instance
that crosses a DST change, or any instance after a first one that crossed it,
ended an hour off its start's wall-clock time.
RFC 5545 section 3.8.5.3 applies the same nominal duration to every instance
when the length comes from DURATION, so the end of each instance is now its
start plus the DURATION, the same way the event's own end is computed. Events
with DTEND keep their exact duration. The expandOngoing search window gets a
day more for these events, since a later instance can be longer than the
first.
* fix: only widen the expandOngoing search for nominal durations
* docs: say when an event with both DTEND and DURATION keeps its exact length
0 commit comments