Ref T10747. Allows the intermediate event representation to be written out to an ICS file. This isn't full-featured but the core works.
Details
Details
- Reviewers
chad - Maniphest Tasks
- T10747: Import and export ICS from Calendar
- Commits
- rPHU7c1fc80a54f0: Write basic ICS files from Phutil intermediate objects
Added unit tests, ran unit tests.
Imported the resulting .ics file into Calendar.app, got an equivalent event:
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- ics4
- Lint
Lint Passed Severity Location Code Message Advice src/parser/calendar/ics/PhutilICSWriter.php:219 XHP16 TODO Comment - Unit
Tests Passed - Build Status
Buildable 13714 Build 17698: Run Core Tests Build 17697: arc lint + arc unit
Event Timeline
Comment Actions
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