Posted By: Jeff Rose
Date: 2007-10-15 14:11
Summary: iCalendar 1.0.1
Project: iCalendar

Just a note to you calendar loving ruby hackers. The icalendar library is free of all known bugs, and this fixes an Outlook incompatibility so grab the gem and give it a try.

Latest News
TZInfo::Data v1.2014.2 Released
    Philip Ross - 2014-03-25 22:32
TZInfo v0.3.39 Released
    Philip Ross - 2014-03-09 20:23
TZInfo::Data v1.2014.1 Released
    Philip Ross - 2014-03-09 20:00
Automatic Ruby 14.2.0 has been released!
    id 774 - 2014-02-26 06:23
kramdown 1.3.2 released
    Thomas Leitner - 2014-02-16 08:35

 

Forums | Admin

Discussion Forums: icalendar-1.0.1

Start New Thread Start New Thread

 

By: Benjamin Bradley
Timezones stripped from start/end times? [ reply ]  
2008-12-03 18:38
It appears that the timezone setting in the DTSTART/DTEND field of an event is stripped out and not processed whenever the dates are converted to Date objects.
For example:
ics file contains:
DTSTART;TZID=America/Chicago:20081121T120000

parsed Icalendar::Event object's DTSTART property is:
2008-11-21T12:00:00+00:00
so the Icalendar.parse() routine essentially converts all times to UTC.

Or am I doing something wrong? Is there a way to explicitly set the current timezone in the parser?