Hello!

I have a meeting in my Evolution calendar which I synchronize with
SyncEvolution. I noticed that the outgoing VEVENT has start and end time
converted to UTC times which are one hour off.

Here's the stripped down event:

BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:GMT Standard Time
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T010000
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
SUMMARY:test event
DTSTART;TZID=GMT Standard Time:20100421T150000
DTEND;TZID=GMT Standard Time:20100421T160000
UID:040000008200E00074C5B7101A82E0080000000000B5A586D0A4CA01000000000000000010
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20100415T035521Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:4
END:VEVENT
END:VCALENDAR

This is parsed into a field list as follows:

- 18 :  timestamp DTSTART         [   0,   0,     0] : 2010-04-21T15:00:00Z 
(TZ: UTC)
- 19 :  timestamp DTEND           [   0,   0,     0] : 2010-04-21T16:00:00Z 
(TZ: UTC)

And then encoded like this when sent to the server:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.6//EN
BEGIN:VEVENT
STATUS:CONFIRMED
LAST-MODIFIED:20100421T071812Z
DTSTAMP:20100421T071905Z
CREATED:20100415T065234Z
UID:040000008200E00074C5B7101A82E0080000000000B5A586D0A4CA01000000000000000010
CLASS:PUBLIC
TRANSP:OPAQUE
PRIORITY:5
SUMMARY:test event
DTSTART:20100421T150000Z
DTEND:20100421T160000Z
END:VEVENT
END:VCALENDAR

The correct start time in UTC is 14:00, because this "GMT Standard Time"
VTIMEZONE has a 1 hour offset during summer saving time. The event was
created by Outlook.

Any idea how that happens?

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to