diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-04-04 00:42:50 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-04-04 00:44:55 +0530 |
commit | 0875678edc48daf9eae4d13a0e06fbf300cf8169 (patch) | |
tree | 7b766d969b418178d1a4b45c07ccbbbfdfc17b41 /activesupport/lib | |
parent | 77a3bc476800a666dc89c40ddd73fe505fa5959b (diff) | |
download | rails-0875678edc48daf9eae4d13a0e06fbf300cf8169.tar.gz rails-0875678edc48daf9eae4d13a0e06fbf300cf8169.tar.bz2 rails-0875678edc48daf9eae4d13a0e06fbf300cf8169.zip |
Fixed Typo
Diffstat (limited to 'activesupport/lib')
-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 |