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
F18350853: D17644.id42431.diff
Tue, Aug 26, 8:34 PM
F18230867: D17644.id.diff
Wed, Aug 20, 1:14 PM
F18217619: D17644.diff
Tue, Aug 19, 9:06 AM
Unknown Object (File)
May 29 2025, 9:15 AM
Unknown Object (File)
May 9 2025, 9:20 PM
Unknown Object (File)
May 9 2025, 7:57 PM
Unknown Object (File)
May 9 2025, 7:57 PM
Unknown Object (File)
May 9 2025, 7:57 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 16359
Build 21756: Run Core Tests
Build 21755: arc lint + arc unit

Unit TestsFailed