Permalink
Browse files

Use ActiveSupport::TimeZone in time:zones rake tasks

  • Loading branch information...
1 parent c3aaba0 commit cb645c8877a52b83296b25bd5e5c5cf319a356fc @lifo lifo committed Jul 4, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit cb645c8

Please sign in to comment.