diff options
author | Angelo capilleri <capilleri@yahoo.com> | 2012-05-23 09:59:13 +0200 |
---|---|---|
committer | Angelo capilleri <capilleri@yahoo.com> | 2012-05-23 14:45:56 +0200 |
commit | 5646d65d01845adf669b9e6c4899b6ac15849bb9 (patch) | |
tree | 78c26a96418081005e94d18573b50718757a2a0a /activesupport/lib/active_support/core_ext/hash/conversions.rb | |
parent | cb92efbf0463f3b6dc0456a497556d5b414fb0e8 (diff) | |
download | rails-5646d65d01845adf669b9e6c4899b6ac15849bb9.tar.gz rails-5646d65d01845adf669b9e6c4899b6ac15849bb9.tar.bz2 rails-5646d65d01845adf669b9e6c4899b6ac15849bb9.zip |
changed xml type datetime to dateTime, fixes #6328
XmlMini define the xml 'datatime', but according to
http://www.w3.org/TR/xmlschema-2/#dateTime could be better
change this to 'dateTime' with upper case letter 'T.
So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime'
add the changing to the changelog
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/conversions.rb | 4 |
1 files changed, 2 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 469dc41f2d..43ba05a256 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -57,8 +57,8 @@ class Hash # "TrueClass" => "boolean", # "FalseClass" => "boolean", # "Date" => "date", - # "DateTime" => "datetime", - # "Time" => "datetime" + # "DateTime" => "dateTime", + # "Time" => "dateTime" # } # # By default the root node is "hash", but that's configurable via the <tt>:root</tt> option. |