Page MenuHomePhabricator

Write basic ICS files from Phutil intermediate objects
ClosedPublic

Authored by epriestley on Sep 14 2016, 8:50 PM.
Tags
None
Referenced Files
F13282123: D16551.diff
Sun, Jun 2, 11:44 AM
F13245316: D16551.diff
Thu, May 23, 5:56 AM
F13221312: D16551.id.diff
Sun, May 19, 2:27 AM
F13220001: D16551.id39841.diff
Sat, May 18, 10:37 PM
F13208196: D16551.id39835.diff
Thu, May 16, 11:03 AM
F13197012: D16551.diff
Sun, May 12, 11:45 PM
Unknown Object (File)
Mon, May 6, 6:44 PM
Unknown Object (File)
May 3 2024, 8:03 AM
Subscribers

Details

Summary

Ref T10747. Allows the intermediate event representation to be written out to an ICS file. This isn't full-featured but the core works.

Test Plan

Added unit tests, ran unit tests.

Imported the resulting .ics file into Calendar.app, got an equivalent event:

Screen Shot 2016-09-14 at 1.44.23 PM.png (324×472 px, 59 KB)

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Write basic ICS files from Phutil intermediate objects.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

If you wanted this to closely follow the specification (RFC 5545), then you need to add VERSION and PRODID, ex:

VERSION:2.0
PRODID:-//phabricator/calexport//NONSGML v1.0//EN
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 15 2016, 12:42 AM
This revision was automatically updated to reflect the committed changes.