Time zone bug?

3 views
Skip to first unread message

dainanaki

unread,
Sep 26, 2010, 3:12:22 PM9/26/10
to gcal4ruby
It seems that there is a bug with the time zone conversion when going
from ruby to gcal. When I create a new Event, it is always 5 hours
early. It acts like local time is UTC, and so it 'converts' to 'local
time'. Essentially, it is double converting from UTC.

Justin Kiernan

unread,
Sep 26, 2010, 8:04:28 PM9/26/10
to gcal...@googlegroups.com
I have the same problem.  My work arround is to set the Time.zone = "Eastern" at the top of my method, then set my event.start_time = time + 4.hours.  This works for my situation, however, I am not certain this is compensating for daylight savings time.  It seems that if I set the time to a date before April, then I may need to add 5 hours?
Reply all
Reply to author
Forward
0 new messages