Displaying 1 result from an estimated 1 matches for "correct_tim".
Did you mean:
correctstim
2009 Mar 31
2
TimeWithZone seems in rails 2.3 seems broken...is this the correct behavior?
...30 12:00:00">
>> event.edate
=> Mon, 30 Mar 2009 16:00:00 UTC +00:00
>> zutc= ActiveSupport::TimeZone.new(''UTC'')
=> #<ActiveSupport::TimeZone:0xb795cbc8
@tzinfo=#<TZInfo::DataTimezone: Etc/UTC>, @utc_offset=0, @name="UTC">
>> correct_time = ActiveSupport::TimeWithZone.new(event.edate.localtime,zutc)
=> Mon, 30 Mar 2009 12:00:00 UTC +00:00
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, se...