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
F19346902: D17644.diff
Fri, Dec 26, 1:38 AM
F18958480: D17644.diff
Nov 13 2025, 4:41 AM
F18817165: D17644.id.diff
Oct 21 2025, 1:07 PM
F18815074: D17644.diff
Oct 21 2025, 12:41 AM
F18775023: D17644.id42430.diff
Oct 10 2025, 5:42 PM
F18765299: D17644.diff
Oct 7 2025, 10:41 AM
F18751317: D17644.id42431.diff
Oct 4 2025, 10:30 AM
F18704882: D17644.id42438.diff
Sep 28 2025, 9:13 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