Date in iso8601 should just be a to_s alias

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-03-18 21:46:49 +00:00
parent 7581193678
commit eba58b2c12
1 changed files with 1 additions and 3 deletions

View File

@ -26,9 +26,7 @@ module ActiveSupport #:nodoc:
::Time.send(form, year, month, day)
end
def xmlschema
to_time.xmlschema
end
alias :xmlschema :to_s
end
end
end