lpil / icalendar

🗓️ A small library for reading and writing ICalendar files.
MIT License
103 stars 56 forks source link

Dates shouldn't have TZID when UTC #32

Closed tcitworld closed 5 years ago

tcitworld commented 5 years ago

The "TZID" property parameter MUST NOT be applied to DATE properties and DATE-TIME or TIME properties whose time values are specified in UTC.

https://icalendar.org/iCalendar-RFC-5545/3-2-19-time-zone-identifier.html

Will need rebase on #30

lpil commented 5 years ago

Thank you. Do we have a test for a date that is not UTC? If not I would like to include one.

tcitworld commented 5 years ago

Just https://github.com/lpil/icalendar/blob/master/test/icalendar/event_test.exs#L65