diff options
author | Geoff Buesing <gbuesing@gmail.com> | 2009-04-05 10:15:54 -0500 |
---|---|---|
committer | Geoff Buesing <gbuesing@gmail.com> | 2009-04-05 10:15:54 -0500 |
commit | 7685ea20b4915f907082a22028260d04024a200b (patch) | |
tree | 31756cb893fa4c8050d7c1a7c57b06c918a698f2 /activesupport | |
parent | c00f2d25de640b8de1c8583474085f3836ee1768 (diff) | |
download | rails-7685ea20b4915f907082a22028260d04024a200b.tar.gz rails-7685ea20b4915f907082a22028260d04024a200b.tar.bz2 rails-7685ea20b4915f907082a22028260d04024a200b.zip |
Hash::XML_TYPE_NAMES: no longer a need for a TimeWithZone entry; this class will now match "Time"
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/conversions.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb index 10435975c5..f8a5e70eea 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -28,8 +28,7 @@ module ActiveSupport #:nodoc: "FalseClass" => "boolean", "Date" => "date", "DateTime" => "datetime", - "Time" => "datetime", - "ActiveSupport::TimeWithZone" => "datetime" + "Time" => "datetime" } unless defined?(XML_TYPE_NAMES) XML_FORMATTING = { |