Browse files

Clarified the minute option on DateTime#change

  • Loading branch information...
1 parent 00f68c5 commit 9f487e7aace496d06094985066ef937baef76c1e @jawa jawa committed Jan 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/date_time/calculations.rb
@@ -43,7 +43,7 @@ def seconds_until_end_of_day
# 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>,

0 comments on commit 9f487e7

Please sign in to comment.