msherry / ical2org

A fork of http://orgmode.org/worg/code/awk/ical2org.awk with some improvements.
53 stars 27 forks source link

UTC date-time stamps not respected #7

Closed arifer612 closed 2 years ago

arifer612 commented 2 years ago

Date-time stamps in this script are expected to be one of 2 kinds. The first is a date stamp without any information of the (start/end) time. It follows the format DT(START|END);VALUE=DATE:YYYYMMDD. The second is to have have information of the (start/end) time along with the timezone ID. It follows the format DT(START|END);TZID=REGION/CITY:YYYYMMDDTHHMMSS. However, there is one more format that date-time stamps can take. It asserts that the date-time is specified in UTC and is represented as DT(START|END);VALUE=DATE-TIME:YYYYMMDDTHHMMSSZ. Information of it can be found on the documentations here.

I believe that this format should be added since it is an offical format supported by ics files.