mirror of
https://github.com/github/rails.git
synced 2026-01-30 16:58:15 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user