Page MenuHomePhabricator

Migrate Calendar away from stored-epoch fields
ClosedPublic

Authored by epriestley on Oct 4 2016, 7:50 PM.
Tags
None
Referenced Files
F19089308: D16664.id.diff
Wed, Dec 3, 6:50 AM
F19086946: D16664.diff
Tue, Dec 2, 11:08 PM
F19001003: D16664.id.diff
Nov 21 2025, 1:40 AM
F18852109: D16664.id.diff
Oct 31 2025, 6:53 AM
F18851240: D16664.diff
Oct 30 2025, 11:13 PM
F18840485: D16664.id40148.diff
Oct 28 2025, 1:19 AM
F18780927: D16664.id40117.diff
Oct 12 2025, 8:37 PM
F18756151: D16664.id.diff
Oct 5 2025, 9:39 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.