Home GnuPG

Migrate Calendar away from stored-epoch fields
d3fc1800f86aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Migrate Calendar away from stored-epoch fields

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16664

Details

Provenance
epriestley <git@epriestley.com>Authored on Oct 4 2016, 9:03 PM
Parents
rPHABfae0ec9220a7: Use more CalendarDateTime and fewer epoch timestamps in Calendar
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABd3fc1800f86a: Migrate Calendar away from stored-epoch fields (authored by epriestley <git@epriestley.com>).Oct 6 2016, 12:55 PM