Skip to content

Rails – disable timezone conversions

In order to globally disable the use of TimeZone conversions for your (legacy?) application – here’s the proper configurations:

In config/application.rb (or config/environment.rb depending on Rails version):

Posted in Ruby.

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Jeff says


    Thank you very much for this post. I have a legacy java app that I’ve embedded jruby into and the java side didn’t use time zones, so this solved issues with dates between the two.


Some HTML is OK

or, reply to this post via trackback.