Page MenuHomePhabricator

Fix an RRULE issue with all-day events expanded by BYHOUR or high-frequency RRULES
ClosedPublic

Authored by epriestley on Sep 28 2016, 12:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 4:35 PM
Unknown Object (File)
Fri, Apr 26, 2:29 AM
Unknown Object (File)
Fri, Apr 26, 2:25 AM
Unknown Object (File)
Fri, Apr 26, 2:25 AM
Unknown Object (File)
Thu, Apr 25, 12:36 AM
Unknown Object (File)
Fri, Apr 19, 5:22 PM
Unknown Object (File)
Thu, Apr 18, 2:16 AM
Unknown Object (File)
Thu, Apr 11, 8:30 AM
Subscribers
None

Details

Summary

Ref T10747. If you have an all-day event, we normally return all-day events.

If the frequency is HOURLY or higher though, or the set has been expanded by a rule like BYHOUR, we need to iterate hours/minutes/seconds and return date-time results.

Test Plan

Unit tests now pass.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an RRULE issue with all-day events expanded by BYHOUR or high-frequency RRULES.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 28 2016, 12:40 AM
This revision was automatically updated to reflect the committed changes.