Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#27 Sync is killing Timezones in Kontact 4.1

open
nobody
None
5
2008-07-30
2008-07-30
isleshocky77
No

Below is the STD.ics file which is used by Kontact before and after a sync GCALDaemon. You'll notice that the TZID=America/New_York has been removed from the DTSTART and DTEND. This cause the event to go from being of New York timezone before the sync to UTC timezone after the sync and to have the incorrect time (off by the difference between New York and UTC).

Before Sync:
----------------------------------------------------------------------

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN
VERSION:2.0
X-WR-CALNAME:Stephen Ostrow
X-WR-TIMEZONE:America/New_York

BEGIN:VEVENT
DTSTAMP:20080730T065101Z
CREATED:20080728T170549Z
UID:tt2p3883s477j5builima6ksss@google.com
SEQUENCE:5
LAST-MODIFIED:20080730T065100Z
DESCRIPTION:ETA: 11:31\nConfirm #: AAAA
SUMMARY:Flt 103 to Airport
LOCATION:Airport
STATUS:CONFIRMED
CLASS:PRIVATE
CATEGORIES:Travel
DTSTART;TZID=America/New_York:20080731T090000
DTEND;TZID=America/New_York:20080731T130000
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:This is an event reminder
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT1H
END:VALARM

BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT

BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD

END:VTIMEZONE

END:VCALENDAR

---------------------------------------------------------------------
After Sync:
---------------------------------------------------------------------

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Stephen Ostrow
X-WR-TIMEZONE:America/New_York
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE

BEGIN:VEVENT
DTSTART:20080731T130000Z
DTEND:20080731T170000Z
DTSTAMP:20080730T065140Z
UID:tt2p3883s477j5builima6ksss@google.com
CLASS:PRIVATE
CREATED:20080728T170549Z
DESCRIPTION:ETA: 11:31\nConfirm #: AAAA
LAST-MODIFIED:20080730T055955Z
LOCATION:Airport
SEQUENCE:3
STATUS:CONFIRMED
SUMMARY:Flt 103 to Airport
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT1H0M0S
END:VALARM
CATEGORIES:Travel
END:VEVENT
END:VCALENDAR

Discussion