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
F13530013: D17644.id42431.diff
Sat, Jul 27, 12:29 AM
Unknown Object (File)
Tue, Jul 16, 4:51 AM
Unknown Object (File)
Sun, Jul 14, 3:49 PM
Unknown Object (File)
Sat, Jul 13, 3:42 PM
Unknown Object (File)
Sat, Jul 13, 10:18 AM
Unknown Object (File)
Thu, Jul 11, 7:24 AM
Unknown Object (File)
Thu, Jul 4, 11:03 AM
Unknown Object (File)
Wed, Jul 3, 10:36 PM
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