Page MenuHomePhabricator

Migrate Calendar away from stored-epoch fields
ClosedPublic

Authored by epriestley on Oct 4 2016, 7:50 PM.
Tags
None
Referenced Files
F18852109: D16664.id.diff
Fri, Oct 31, 6:53 AM
F18851240: D16664.diff
Thu, Oct 30, 11:13 PM
F18840485: D16664.id40148.diff
Tue, Oct 28, 1:19 AM
F18780927: D16664.id40117.diff
Sun, Oct 12, 8:37 PM
F18756151: D16664.id.diff
Oct 5 2025, 9:39 AM
F18698584: D16664.id40117.diff
Sep 27 2025, 11:33 AM
F18686154: D16664.id40148.diff
Sep 26 2025, 12:10 PM
F18633485: D16664.diff
Sep 16 2025, 8:21 PM
Subscribers
None

Details

Summary

Ref T10747. This deprecates "dateFrom", "dateTo", "allDayDateFrom", "allDayDateTo", and "recurrenceEndDate".

They are replaced with "utc*Epoch" fields (for querying) and CalendarDateTime objects (for start, end, until). These objects can represent the full range of dates and times expressible in ICS format, allowing us to import a wider range of ICS events.

Test Plan

Ran migrations, viewed/edited Calendar, didn't catch anything catastrophcially broken.

This likely needs some followups, I'll keep it local for a bit until I'm confident I didn't break anything too catastrophically. I'm retaining the old data for now so we can likely fix things if it turns out there is some sort of issue.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Migrate Calendar away from stored-epoch fields.
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.Oct 4 2016, 8:05 PM
This revision was automatically updated to reflect the committed changes.