Permalink
Browse files

Use ActiveSupport::TimeZone in time:zones rake tasks

  • Loading branch information...
1 parent dd89462 commit 9d8fdc92c02b796f4f913670f74a9403d2e3c52f @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 9d8fdc9

Please sign in to comment.