aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJakob Waller <jakob@appily.se>2013-01-10 12:13:54 +0100
committerJakob Waller <jakob@appily.se>2013-01-10 12:13:54 +0100
commit9f487e7aace496d06094985066ef937baef76c1e (patch)
tree9c35093128f56323f2b42fa9e8dd4547879ddda0 /activesupport
parent00f68c52c59e211fbc73f6061db4eaef037afded (diff)
downloadrails-9f487e7aace496d06094985066ef937baef76c1e.tar.gz
rails-9f487e7aace496d06094985066ef937baef76c1e.tar.bz2
rails-9f487e7aace496d06094985066ef937baef76c1e.zip
Clarified the minute option on DateTime#change
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/date_time/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_time/calculations.rb
index 4e4852a5e6..1d3682eaf2 100644
--- a/activesupport/lib/active_support/core_ext/date_time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date_time/calculations.rb
@@ -43,7 +43,7 @@ class DateTime
# Returns a new DateTime where one or more of the elements have been changed
# according to the +options+ parameter. The time options (<tt>:hour</tt>,
- # <tt>:minute</tt>, <tt>:sec</tt>) reset cascadingly, so if only the hour is
+ # <tt>:min</tt>, <tt>:sec</tt>) reset cascadingly, so if only the hour is
# passed, then minute and sec is set to 0. If the hour and minute is passed,
# then sec is set to 0. The +options+ parameter takes a hash with any of these
# keys: <tt>:year</tt>, <tt>:month</tt>, <tt>:day</tt>, <tt>:hour</tt>,