I found the following in an ics file that some of my plugin users were trying to use my plugin with:
DTSTART;VALUE=DATE;TZID=/mozilla.org/20070129_1/Europe/Berlin:20061223
DTEND;VALUE=DATE;TZID=/mozilla.org/20070129_1/Europe/Berlin:20070113
Ical Specs are not terribly helpful:
http://www.kanzaki.com/docs/ical/tzid.html and http://www.ietf.org/rfc/rfc2445.txt say:
The specification of globally unique time zone identifiers is not addressed by this document and is left for future study.
and phpicalendar has this to say about these sorts of timezone definitions:
phpicalendar’s time zone specs are defined in functions/timezones.php, which is based on the Olson database…..the path should be NOT part of the TZID
It seems that some ical generators do put a path in, so it looks like one has to try to strip it out to get down to a simple timezone. The path probably should be in the TZURL part of the TIMEZONE spec that can exist at the beginning of the file. See
http://www.kanzaki.com/docs/ical/vtimezone.html
Anyway code is in progress to deal with it – looking good so far – it was a pain because the syntax meant that the timezone had to be parsed in a different spot from the other timezone specifications.
Related posts:


