This project is read-only.

gcal ics exports do not import using TZ data


Importing an ics file with valid timezone information is being ignored resulting in times added in GMT time. The datetime information should have been adjusted to local time when added to calendar.

To reproduce:
Create a test calendar with one event in it.
From google calendar settings page, select "export calendars"
This will create a zip file contain ics data export.
Select and import an ics file (see attached sample) using gcalicsimporter.
The file has dates in GMT+0 (eg DTSTART:20130720T153000Z) and is added to the calendar but
the line "X-WR-TIMEZONE:Australia/Perth" was ignored so time is wrong because of the difference between GMT+8 and GMT+0.

File is valid and works correctly when tested from google calendar settings page, select "import calendars" and the event is imported with time zone adjusted correctly
(Note if email the file to yourself via gmail there is no "add event" button in this case - no idea why)

Expected result an event on July 20th 2013 at 23:30 - 00:00 (local time)
( equivalent to GMT time July 20th 2013 at 15:30 - 16:00)

file attachments