Page MenuHomePhabricator

Migrate Calendar away from stored-epoch fields
ClosedPublic

Authored by epriestley on Oct 4 2016, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:25 AM
Unknown Object (File)
Fri, Apr 19, 5:25 PM
Unknown Object (File)
Sun, Apr 7, 10:51 AM
Unknown Object (File)
Fri, Apr 5, 6:52 AM
Unknown Object (File)
Mar 22 2024, 8:50 PM
Unknown Object (File)
Feb 14 2024, 2:14 PM
Unknown Object (File)
Feb 3 2024, 12:19 PM
Unknown Object (File)
Jan 28 2024, 9:28 AM
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.