hi, I''m trying to understand why I can not make time_zone working. It always return the same date whatever time_zone I configured :>> Time.zone=> #<ActiveSupport::TimeZone:0x7fca81c99318 @utc_offset=3600, @name="Paris", @tzinfo=nil>>> User.first.silent_mode_at=> Sat Jan 01 22:00:00 UTC 2000>> Time.zone="Hawaii"=> "Hawaii">> User.first.silent_mode_at=> Sat Jan 01 22:00:00 UTC 2000 Should''nt the time change after I setup the Time.zone properly ? Thank you!
If like me you spend hours trying to figure out why timezone is not working at all, check if you have a :time column instead of a :datetime. !@%... Sorry for the noise. On Sat, Sep 12, 2009 at 6:24 PM, Fabien Penso <fabienpenso-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m trying to understand why I can not make time_zone working. It > always return the same date whatever time_zone I configured :