Permalink
Browse files

Update Time#change docs to reflect the options it uses

[ci skip]
  • Loading branch information...
1 parent 9ee71e2 commit 3720d5ee197bea26d0719aa48c167bac4e7b0577 @oestrich oestrich committed Feb 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -67,7 +67,7 @@ def seconds_since_midnight
end
# Returns a new Time where one or more of the elements have been changed according to the +options+ parameter. The time options
- # (hour, minute, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
+ # (hour, min, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
# minute is passed, then sec and usec is set to 0.
def change(options)
::Time.send(

0 comments on commit 3720d5e

Please sign in to comment.