mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use "rake time:zones:all" instead of "rake -D time" [ci skip]
This commit is contained in:
parent
101821410b
commit
706850a443
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ module ActiveSupport
|
|||
|
||||
unless zone_default
|
||||
raise 'Value assigned to config.time_zone not recognized. ' \
|
||||
'Run "rake -D time" for a list of tasks for finding appropriate time zone names.'
|
||||
'Run "rake time:zones:all" for a time zone names list.'
|
||||
end
|
||||
|
||||
Time.zone_default = zone_default
|
||||
|
|
|
@ -26,7 +26,7 @@ module <%= app_const_base %>
|
|||
# -- all .rb files in that directory are automatically loaded.
|
||||
|
||||
# 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. Default is UTC.
|
||||
# Run "rake time:zones:all" for a time zone names list. 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.
|
||||
|
|
Loading…
Reference in a new issue