diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-01-03 21:55:48 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-01-03 21:55:48 -0500 |
commit | 0422314b29e6b59362eb1111c983740784428b73 (patch) | |
tree | 2d2e9b027f7f9d13a67ca9920a61aa40a7e51b19 /railties/lib/rails/configuration.rb | |
parent | 51460b5bf296d7f262f8d865f6f6f1d44513c6d4 (diff) | |
download | rails-0422314b29e6b59362eb1111c983740784428b73.tar.gz rails-0422314b29e6b59362eb1111c983740784428b73.tar.bz2 rails-0422314b29e6b59362eb1111c983740784428b73.zip |
Time zoning should be turned on by default with UTC
Diffstat (limited to 'railties/lib/rails/configuration.rb')
-rw-r--r-- | railties/lib/rails/configuration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index f0a0d5e55e..7c1d549c9a 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -230,6 +230,10 @@ module Rails def log_level @log_level ||= RAILS_ENV == 'production' ? :info : :debug end + + def time_zone + @time_zone ||= "UTC" + end def i18n @i18n ||= begin |