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, Jan 30, 2:52 AM
Unknown Object (File)
Fri, Jan 24, 5:28 PM
Unknown Object (File)
Thu, Jan 23, 2:43 AM
Unknown Object (File)
Tue, Jan 21, 11:44 PM
Unknown Object (File)
Tue, Jan 21, 4:06 PM
Unknown Object (File)
Tue, Jan 21, 11:43 AM
Unknown Object (File)
Dec 31 2024, 5:29 PM
Unknown Object (File)
Dec 17 2024, 8:05 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.