diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-04-20 21:45:09 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-04-20 21:45:09 +0900 |
commit | a1c77af433fc2adb561e0824f58996ef65f29be9 (patch) | |
tree | a2e853c4a08d61fbed41290901a0018076aa2af8 /railties/lib/rails | |
parent | 597fa0b42f90bbef6a8c7628d4e08fb132fba887 (diff) | |
download | rails-a1c77af433fc2adb561e0824f58996ef65f29be9.tar.gz rails-a1c77af433fc2adb561e0824f58996ef65f29be9.tar.bz2 rails-a1c77af433fc2adb561e0824f58996ef65f29be9.zip |
use rails command in `time:zones` task desc [ci skip]
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/tasks/misc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/misc.rake b/railties/lib/rails/tasks/misc.rake index 371bcb8fe0..e6b13cc077 100644 --- a/railties/lib/rails/tasks/misc.rake +++ b/railties/lib/rails/tasks/misc.rake @@ -10,7 +10,7 @@ task about: :environment do end namespace :time do - desc 'List all time zones, list by two-letter country code (`rake time:zones[US]`), or list by UTC offset (`rake time:zones[-8]`)' + desc 'List all time zones, list by two-letter country code (`rails time:zones[US]`), or list by UTC offset (`rails time:zones[-8]`)' task :zones, :country_or_offset do |t, args| zones, offset = ActiveSupport::TimeZone.all, nil |