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
Unknown Object (File)
Mon, Nov 18, 12:05 AM
Unknown Object (File)
Thu, Nov 14, 11:43 AM
Unknown Object (File)
Sun, Nov 10, 3:38 AM
Unknown Object (File)
Tue, Nov 5, 9:33 PM
Unknown Object (File)
Oct 20 2024, 6:18 PM
Unknown Object (File)
Oct 20 2024, 5:12 PM
Unknown Object (File)
Oct 18 2024, 1:05 AM
Unknown Object (File)
Oct 15 2024, 7:16 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.