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:
parent
7581193678
commit
eba58b2c12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue