diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-07-04 20:07:00 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-07-04 20:07:00 +0100 |
commit | cb645c8877a52b83296b25bd5e5c5cf319a356fc (patch) | |
tree | 48f96605b5a3bd607d26ce3e8ea1a3090f7dd0ee /railties/lib/tasks | |
parent | c3aaba0180f0710094d974b4ba4659bce81446df (diff) | |
download | rails-cb645c8877a52b83296b25bd5e5c5cf319a356fc.tar.gz rails-cb645c8877a52b83296b25bd5e5c5cf319a356fc.tar.bz2 rails-cb645c8877a52b83296b25bd5e5c5cf319a356fc.zip |
Use ActiveSupport::TimeZone in time:zones rake tasks
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/misc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/misc.rake b/railties/lib/tasks/misc.rake index 61042595f9..33bbba1101 100644 --- a/railties/lib/tasks/misc.rake +++ b/railties/lib/tasks/misc.rake @@ -44,7 +44,7 @@ namespace :time do end end previous_offset = nil - TimeZone.__send__(method).each do |zone| + ActiveSupport::TimeZone.__send__(method).each do |zone| if offset.nil? || offset == zone.utc_offset puts "\n* UTC #{zone.formatted_offset} *" unless zone.utc_offset == previous_offset puts zone.name |