Sabtu, 07 April 2012

Rails Time.zone parsing doesn't work as expected

I ran into this issue while testing a rails app deployed to two different staging servers, in different time zones (PDT and CDT). Both servers have rails using the default UTC config.time_zone. Apart from the timezone configuration being different, both servers have their clocks set correctly. Below is what I see in a rails console: On the server where system timezone is CDT, Time.zone.parse("

0 comments:

Posting Komentar