Home GnuPG

Allow DateTime objects to be serialized and deserialized
5a9e3ef1bfe0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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

Provenance
epriestley <git@epriestley.com>Authored on Oct 3 2016, 6:49 PM
Parents
rPHUTIL65eed1be889e: Support RRULE export in ICS from libphutil
Branches
Unknown
Tags
Unknown

Event Timeline

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