diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-18 21:46:49 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-18 21:46:49 +0000 |
commit | eba58b2c12586fc0558b805679b236a8379dd47a (patch) | |
tree | 2c7c9345718bd6664696ebd6ce3eca7f8a24033c /activesupport | |
parent | 7581193678f58d363d6d51600c83803e6709a7da (diff) | |
download | rails-eba58b2c12586fc0558b805679b236a8379dd47a.tar.gz rails-eba58b2c12586fc0558b805679b236a8379dd47a.tar.bz2 rails-eba58b2c12586fc0558b805679b236a8379dd47a.zip |
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
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date/conversions.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/conversions.rb b/activesupport/lib/active_support/core_ext/date/conversions.rb index 2a14a46480..627c8dd485 100644 --- a/activesupport/lib/active_support/core_ext/date/conversions.rb +++ b/activesupport/lib/active_support/core_ext/date/conversions.rb @@ -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 |