Permalink
Browse files

Merge pull request #10079 from prathamesh-sonpatki/typo

Fixed Typo
  • Loading branch information...
2 parents 77a3bc4 + 0875678 commit 3602fa197029b54603fb0799c4b90e93a00e3283 @carlosantoniodasilva carlosantoniodasilva committed Apr 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
@@ -93,7 +93,7 @@ def beginning_of_quarter
# Returns a new date/time at the end of the quarter.
# Example: 31st March, 30th June, 30th September.
- # DateTIme objects will have a time set to 23:59:59.
+ # DateTime objects will have a time set to 23:59:59.
def end_of_quarter
last_quarter_month = [3, 6, 9, 12].detect { |m| m >= month }
beginning_of_month.change(:month => last_quarter_month).end_of_month

0 comments on commit 3602fa1

Please sign in to comment.