aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2013-04-04 00:42:50 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2013-04-04 00:44:55 +0530
commit0875678edc48daf9eae4d13a0e06fbf300cf8169 (patch)
tree7b766d969b418178d1a4b45c07ccbbbfdfc17b41 /activesupport
parent77a3bc476800a666dc89c40ddd73fe505fa5959b (diff)
downloadrails-0875678edc48daf9eae4d13a0e06fbf300cf8169.tar.gz
rails-0875678edc48daf9eae4d13a0e06fbf300cf8169.tar.bz2
rails-0875678edc48daf9eae4d13a0e06fbf300cf8169.zip
Fixed Typo
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/date_and_time/calculations.rb2
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