Page MenuHomePhabricator

Migrate Calendar away from stored-epoch fields
ClosedPublic

Authored by epriestley on Oct 4 2016, 7:50 PM.
Tags
None
Referenced Files
F13168301: D16664.diff
Tue, May 7, 7:38 AM
Unknown Object (File)
Fri, May 3, 7:17 AM
Unknown Object (File)
Wed, May 1, 4:30 PM
Unknown Object (File)
Thu, Apr 25, 1:25 AM
Unknown Object (File)
Fri, Apr 19, 5:25 PM
Unknown Object (File)
Apr 7 2024, 10:51 AM
Unknown Object (File)
Apr 5 2024, 6:52 AM
Unknown Object (File)
Mar 22 2024, 8:50 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
Branch
cal7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14007
Build 18160: Run Core Tests
Build 18159: arc lint + arc unit

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.