[Vpim-talk] Any Timezone support coming?
Robert J. Berger
rberger at ibd.com
Tue Jan 8 05:11:58 EST 2008
Just wondering if there might be someone who got timezone support of
some kind working for vCalendars in VPIM?
I have an vCalendar input file started off with something like this:
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT-05.00) Eastern Time (US & Canada)
X-MICROSOFT-CDO-TZID:10
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20080107T155404Z
DTSTART;TZID="(GMT-05.00) Eastern Time (US & Canada)":20080107T123000
The event.dstart from the Vpim parsed vCalendar will have its Timezone
be set to localtime. It ignores the TZID of the DSTART.
Any hints on how to make this work so that ether the event.dstart has
the right timezone or can be set to the valid UTC?
As far as I can tell, both Vpim and the ruby iCalendar libraries have
similar problems handling this.
Thanks
Rob
––––––––––––––––––––––––––––––
Robert J. Berger - Internet Bandwidth Development, LLC.
Voice: 408-838-8896 eFax: +1-408-490-2868
http://www.ibd.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/vpim-talk/attachments/20080108/4ccb6c2d/attachment-0001.html
More information about the Vpim-talk
mailing list