Permalink
Browse files

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
  • Loading branch information...
dhh committed Mar 18, 2006
1 parent 7581193 commit eba58b2c12586fc0558b805679b236a8379dd47a
Showing with 1 addition and 3 deletions.
  1. +1 −3 activesupport/lib/active_support/core_ext/date/conversions.rb
@@ -26,9 +26,7 @@ def to_time(form = :local)
::Time.send(form, year, month, day)
end
- def xmlschema
- to_time.xmlschema
- end
+ alias :xmlschema :to_s
end
end
end

0 comments on commit eba58b2

Please sign in to comment.