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/generators | |
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/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index ec0729db04..b6c1cef8cd 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -17,15 +17,14 @@ module <%= app_name.classify %> # config.active_record.observers = :cacher, :garbage_collector, :forum_observer # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. - # Run "rake -D time" for a list of tasks for finding time zone names. - config.time_zone = 'UTC' + # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. + # config.time_zone = 'Central Time (US & Canada)' # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] # config.i18n.default_locale = :de - # Configure generators values. Many other options are available, be sure to - # check the documentation. + # Configure generators values. Many other options are available, be sure to check the documentation. # config.generators do |g| # g.orm :active_record # g.template_engine :erb |