Permalink
Browse files

Make it easy to go UTC

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4307d7e commit 514e6704f3ce2f588688313a1c757d3ac035eeb9 @dhh dhh committed Sep 13, 2005
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/environments/environment.rb
@@ -26,6 +26,9 @@
# (remember to create the caching directory and make it readable to the application)
# config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
+ # Make Active Record use UTC-base instead of local time
+ # config.active_record.default_timezone = :utc
+
# See Rails::Configuration for more options
end

0 comments on commit 514e670

Please sign in to comment.