diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date/zones.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date/zones.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/zones.rb b/activesupport/lib/active_support/core_ext/date/zones.rb index 722f086951..3a83af6be2 100644 --- a/activesupport/lib/active_support/core_ext/date/zones.rb +++ b/activesupport/lib/active_support/core_ext/date/zones.rb @@ -11,11 +11,4 @@ class Date to_time end end - - # Ruby 1.9 has Date#xmlschema which converts to a string without the time component. - remove_method :xmlschema if instance_methods.include?(:xmlschema) - - def xmlschema - to_time_in_current_zone.xmlschema - end end |