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)
Wed, Sep 4, 5:59 PM
Unknown Object (File)
Sun, Sep 1, 12:03 AM
Unknown Object (File)
Tue, Aug 27, 3:48 PM
Unknown Object (File)
Fri, Aug 23, 3:04 AM
Unknown Object (File)
Wed, Aug 21, 2:50 PM
Unknown Object (File)
Sat, Aug 17, 7:29 AM
Unknown Object (File)
Fri, Aug 16, 3:57 AM
Unknown Object (File)
Mon, Aug 12, 9:26 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
Branch
cal3
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 16360
Build 21758: Run Core Tests
Build 21757: arc lint + arc unit

Unit TestsFailed