diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-03 12:18:17 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-03 12:18:17 -0700 |
commit | 3602fa197029b54603fb0799c4b90e93a00e3283 (patch) | |
tree | 7b766d969b418178d1a4b45c07ccbbbfdfc17b41 | |
parent | 77a3bc476800a666dc89c40ddd73fe505fa5959b (diff) | |
parent | 0875678edc48daf9eae4d13a0e06fbf300cf8169 (diff) | |
download | rails-3602fa197029b54603fb0799c4b90e93a00e3283.tar.gz rails-3602fa197029b54603fb0799c4b90e93a00e3283.tar.bz2 rails-3602fa197029b54603fb0799c4b90e93a00e3283.zip |
Merge pull request #10079 from prathamesh-sonpatki/typo
Fixed Typo
-rw-r--r-- | activesupport/lib/active_support/core_ext/date_and_time/calculations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb index 1f78b9eb5a..5b89ace66b 100644 --- a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb @@ -93,7 +93,7 @@ module DateAndTime # 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 |