Homec4science

Allow DateTime objects to be serialized and deserialized

Authored by epriestley <git@epriestley.com> on Oct 3 2016, 18:49.

Description

Allow DateTime objects to be serialized and deserialized

Summary:
Ref T10747. I have to move CalendarEvents to use these for everything because ICS files can have events which we can't represent with an epoch (e.g., floating "4PM" events).

Also improve some timezone/floating logic when rendering to ISO8601.

Test Plan: arc unit; see next change.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

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

Details

Committed
epriestley <git@epriestley.com>Oct 6 2016, 12:39
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU65eed1be889e: Support RRULE export in ICS from libphutil
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU5a9e3ef1bfe0: Allow DateTime objects to be serialized and deserialized (authored by epriestley <git@epriestley.com>).Oct 6 2016, 12:39