Ticket #1240 (new defect)

Opened 4 years ago

Information of TZID and VTIMEZONE section in ICAL (ICS) files lost during synchronisation process.

Reported by: Daniel Owned by: dgollub
Priority: normal Milestone:
Component: OpenSync Version: 0.22
Severity: normal Keywords: TZID, VTIMEZONE, timezone
Cc:

Description

I have send two events to my mobile phone which were created by Mozilla Thunderbird-Lightning and exported it to a single ICS file (ICalendar format). My mobile phone (Windows Mobile 5) shows me after that the first appointment with correct time with was created with UTC/GMT time and the second appointment with wrong time which was created with a "Europe Berlin" timezone - local time. I used synce-opensync-plugin and sunbird-sync plugin. It seams for me that OpenSync? ignores TZID data and the definition of VZIMEZONE section. But I do not know!

I was advised in IRC freenode #opensync channel to test the following: Group A lightning-filesync and Group B: filesync-filesync with an entry created by lightning.

I made the test with following two appointments which were in a single ics (ICalendar) file which was exported by Thunderbird-Lightning:

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20100426T105338Z
LAST-MODIFIED:20100426T173433Z
DTSTAMP:20100426T165029Z
UID:11e5c18c-d230-4f61-b11a-532717fd84ee
SUMMARY:Event_at_11:00_UTC/GMT
STATUS:CONFIRMED
DTSTART:20100426T110000Z
DTEND:20100426T120000Z
TRANSP:OPAQUE
X-MOZ-GENERATION:5
END:VEVENT
BEGIN:VEVENT
CREATED:20100426T113045Z
LAST-MODIFIED:20100426T173501Z
DTSTAMP:20100426T165029Z
UID:f0ac59ea-0a98-40f0-a49a-536c0fb61c1f
SUMMARY:Event_at_13:01_Europe/Berlin
STATUS:CONFIRMED
DTSTART;TZID=Europe/Berlin:20100426T130100
DTEND;TZID=Europe/Berlin:20100426T140100
X-MOZ-GENERATION:2
END:VEVENT
END:VCALENDAR

Group A

First separated appointment which was created with UTC/GMT timezone

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CREATED:20100426T105338Z
LAST-MODIFIED:20100426T173433Z
DTSTAMP:20100426T165029Z
SUMMARY:Event_at_11:00_UTC/GMT
STATUS:CONFIRMED
DTSTART:20100426T110000Z
DTEND:20100426T120000Z
TRANSP:1
END:VEVENT
END:VCALENDAR

Second separated appointment which was created with Europe Berlin timezone

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CREATED:20100426T113045Z
LAST-MODIFIED:20100426T173501Z
DTSTAMP:20100426T165029Z
SUMMARY:Event_at_13:01_Europe/Berlin
STATUS:CONFIRMED
DTSTART:20100426T130100
DTEND:20100426T140100
END:VEVENT
END:VCALENDAR

Group B

In first directory: ICS file in ICalendar format which were exported from Lightning -Thunderbird. I copied ICS file into it.

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20100426T105338Z
LAST-MODIFIED:20100426T173433Z
DTSTAMP:20100426T165029Z
UID:11e5c18c-d230-4f61-b11a-532717fd84ee
SUMMARY:Event_at_11:00_UTC/GMT
STATUS:CONFIRMED
DTSTART:20100426T110000Z
DTEND:20100426T120000Z
TRANSP:OPAQUE
X-MOZ-GENERATION:5
END:VEVENT
BEGIN:VEVENT
CREATED:20100426T113045Z
LAST-MODIFIED:20100426T173501Z
DTSTAMP:20100426T165029Z
UID:f0ac59ea-0a98-40f0-a49a-536c0fb61c1f
SUMMARY:Event_at_13:01_Europe/Berlin
STATUS:CONFIRMED
DTSTART;TZID=Europe/Berlin:20100426T130100
DTEND;TZID=Europe/Berlin:20100426T140100
X-MOZ-GENERATION:2
END:VEVENT
END:VCALENDAR

Second directory: ICS file in ICalendar format (?) filtered from Opensync

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CREATED:20100426T105338Z
LAST-MODIFIED:20100426T173433Z
DTSTAMP:20100426T165029Z
SUMMARY:Event_at_11:00_UTC/GMT
STATUS:CONFIRMED
DTSTART:20100426T110000Z
DTEND:20100426T120000Z
TRANSP:1
END:VEVENT
BEGIN:VEVENT
CREATED:20100426T113045Z
LAST-MODIFIED:20100426T173501Z
DTSTAMP:20100426T165029Z
SUMMARY:Event_at_13:01_Europe/Berlin
STATUS:CONFIRMED
DTSTART:20100426T130100
DTEND:20100426T140100
END:VEVENT
END:VCALENDAR
Note: See TracTickets for help on using tickets.