aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorAngelo capilleri <capilleri@yahoo.com>2012-05-23 09:59:13 +0200
committerAngelo capilleri <capilleri@yahoo.com>2012-05-23 14:45:56 +0200
commit5646d65d01845adf669b9e6c4899b6ac15849bb9 (patch)
tree78c26a96418081005e94d18573b50718757a2a0a /activesupport/lib/active_support/core_ext/hash/conversions.rb
parentcb92efbf0463f3b6dc0456a497556d5b414fb0e8 (diff)
downloadrails-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.rb4
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.