diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-09-18 06:38:28 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-09-18 06:38:28 +0000 |
commit | 3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c (patch) | |
tree | 5ed8edf0d167ecc782791b142da6e6003a98ac9f /activesupport/lib/active_support/core_ext/date | |
parent | 4f375d5b82705db9aeb652d2a562c2df369ca4ac (diff) | |
download | rails-3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c.tar.gz rails-3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c.tar.bz2 rails-3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c.zip |
Deprecation: remove deprecated :mday option from Time, Date, and DateTime#change.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date/calculations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/calculations.rb b/activesupport/lib/active_support/core_ext/date/calculations.rb index 37f5d3b544..df35410b3e 100644 --- a/activesupport/lib/active_support/core_ext/date/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date/calculations.rb @@ -87,7 +87,7 @@ module ActiveSupport #:nodoc: ::Date.new( options[:year] || self.year, options[:month] || self.month, - options[:day] || options[:mday] || self.day # mday is deprecated + options[:day] || self.day ) end |