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)
Feb 15 2024, 5:46 PM
Unknown Object (File)
Feb 3 2024, 3:30 PM
Unknown Object (File)
Jan 27 2024, 6:23 AM
Unknown Object (File)
Jan 20 2024, 6:40 PM
Unknown Object (File)
Jan 12 2024, 10:54 AM
Unknown Object (File)
Jan 4 2024, 11:48 PM
Unknown Object (File)
Dec 27 2023, 10:33 AM
Unknown Object (File)
Dec 27 2023, 10:33 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