diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date_time')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date_time/calculations.rb | 4 |
1 files changed, 2 insertions, 2 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 82cc46aa37..97aad008f5 100644 --- a/activesupport/lib/active_support/core_ext/date_time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date_time/calculations.rb @@ -123,8 +123,8 @@ class DateTime change(:min => 59, :sec => 59) end alias :at_end_of_hour :end_of_hour - - # Returns a new DateTime representing the start of the hour (hh:mm:00). + + # Returns a new DateTime representing the start of the minute (hh:mm:00). def beginning_of_minute change(:sec => 0) end |