Page MenuHomePhabricator

Make Calendar recurrence sets return the indexes of recurrence dates properly
ClosedPublic

Authored by epriestley on Apr 10 2017, 1:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 27, 5:40 AM
Unknown Object (File)
Fri, Feb 21, 3:20 PM
Unknown Object (File)
Jan 30 2025, 8:22 PM
Unknown Object (File)
Jan 28 2025, 8:03 PM
Unknown Object (File)
Jan 27 2025, 10:58 AM
Unknown Object (File)
Jan 21 2025, 7:10 PM
Unknown Object (File)
Jan 21 2025, 11:06 AM
Unknown Object (File)
Jan 13 2025, 7:06 AM
Subscribers
None

Details

Summary

Ref T11816. Currently, if you specify a start time, you get back indexes starting from that start time (0, 1, ...).

This can cause some bugs elsewhere when querying for recurring event ranges.

Instead, return the indexes consistently, even if there is a start time.

Test Plan

Added unit tests, made them pass. Fixed an existing unit test.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable