First and foremost, thank you for sharing your VObject library with the world. It's a very nice way to handle these issues and I really appreciate its use.<br><br>Unfortunately, I'm having some trouble at the moment and I'm hoping you can help.<br>
<br>I am trying to create an ics file for syncronizing events from my school mgmt system (<a href="http://www.schoolicity.com">http://www.schoolicity.com</a>) with a user's Outlook 2007 or Google Calendar.<br><br>When I create the events to be used to render the ics file, I am passing in a timezone object like so:<br>
<br> start_date_time = datetime(item.start_date.year, <br> item.start_date.month, <br> item.start_date.day,<br> item.start_time.hour,<br>
item.start_time.minute,<br> item.start_time.second, tzinfo = my_tzinfo)<br><br>The tzinfo class I'm using is the USTimeZone class from the Python site (<a href="http://docs.python.org/library/datetime.html#tzinfo-objects">http://docs.python.org/library/datetime.html#tzinfo-objects</a>). <br>
<br>Given a date like 8/31/2009 3:00pm, I would expect to see an offset of -4:00 for Daylight Savings Time.<br><br>But the ics file shows ONLY EST (-5:00) no matter what I seem to do. The date 8/31/2009 is definitely EDT.<br>
<br>Do I have to do anything special to get VObject to recognize that this time is EDT? Instead I get TSTART;TZID=EST:20090828T000000 as an example start event. The TZID=EST regardless of the datetime of the event.<br><br>
As a result I'm off by an hour and my sync is not very useful. <br><br>Please help!<br><br>Thank you.<br><br>Keyton Weissinger<br>