Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Time#change docs to reflect the options it uses

[ci skip]
  • Loading branch information...
commit 3720d5ee197bea26d0719aa48c167bac4e7b0577 1 parent 9ee71e2
@oestrich oestrich authored
View
2  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(
Please sign in to comment.
Something went wrong with that request. Please try again.