tristanpriem / qcal

Automatically exported from code.google.com/p/qcal
0 stars 0 forks source link

Thunderbird generated ICal - time zone issue #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've tried to parse a Thunderbird generated calendar, it can't parse:
DTSTART;TZID=Europe/Belgrade:20090709T190000

Resulting in:
Fatal error: Uncaught exception 'qCal_Exception_MissingComponent' with message 
'TZID "Europe/Belgrade" not defined'

The calendar:
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
X-WR-CALNAME:testowy
X-WR-TIMEZONE:Europe/Belgrade
BEGIN:VTIMEZONE
TZID:Europe/Belgrade
X-LIC-LOCATION:Europe/Belgrade
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20100730T163659Z
LAST-MODIFIED:20100730T163701Z
DTSTAMP:20100730T163701Z
UID:f0e67507-c0f0-4f00-81cd-b3e55eeb7e5d
SUMMARY:Nowe wydarzenie
DTSTART;TZID=Europe/Belgrade:20090709T190000
DTEND;TZID=Europe/Belgrade:20090709T200000
END:VEVENT
END:VCALENDAR

Original issue reported on code.google.com by robert.b...@gmail.com on 30 Jul 2010 at 4:42