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 /activerecord/lib/active_record | |
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 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/serializers/xml_serializer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/serializers/xml_serializer.rb b/activerecord/lib/active_record/serializers/xml_serializer.rb index 2e60521638..b833af64fe 100644 --- a/activerecord/lib/active_record/serializers/xml_serializer.rb +++ b/activerecord/lib/active_record/serializers/xml_serializer.rb @@ -18,8 +18,8 @@ module ActiveRecord #:nodoc: # <id type="integer">1</id> # <approved type="boolean">false</approved> # <replies-count type="integer">0</replies-count> - # <bonus-time type="datetime">2000-01-01T08:28:00+12:00</bonus-time> - # <written-on type="datetime">2003-07-16T09:28:00+1200</written-on> + # <bonus-time type="dateTime">2000-01-01T08:28:00+12:00</bonus-time> + # <written-on type="dateTime">2003-07-16T09:28:00+1200</written-on> # <content>Have a nice day</content> # <author-email-address>david@loudthinking.com</author-email-address> # <parent-id></parent-id> |