From a1c77af433fc2adb561e0824f58996ef65f29be9 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Wed, 20 Apr 2016 21:45:09 +0900 Subject: use rails command in `time:zones` task desc [ci skip] --- railties/lib/rails/tasks/misc.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails/tasks') 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 -- cgit v1.2.3