From 3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 18 Sep 2007 06:38:28 +0000 Subject: 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 --- activesupport/lib/active_support/core_ext/date/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/date') 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 -- cgit v1.2.3