aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-11-27 01:34:19 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-11-27 02:27:38 +0900
commit499b602c8eb032cb2bbae1cfa01cecdb549ea583 (patch)
tree94966981210dee82bf8bef193c6e7f697cda57ed /actionview/lib/action_view/helpers
parent42c28544e1b8a650fd9d6d4cae12acb25fbd5905 (diff)
downloadrails-499b602c8eb032cb2bbae1cfa01cecdb549ea583.tar.gz
rails-499b602c8eb032cb2bbae1cfa01cecdb549ea583.tar.bz2
rails-499b602c8eb032cb2bbae1cfa01cecdb549ea583.zip
Minor typo fixes
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb
index 36e4c5725f..523f8aed7a 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -115,7 +115,7 @@ module ActionView
# e.g. if there are 20 leap year days between 2 dates having the same day
# and month then the based on 365 days calculation
# the distance in years will come out to over 80 years when in written
- # english it would read better as about 80 years.
+ # English it would read better as about 80 years.
minutes_with_offset = distance_in_minutes - minute_offset_for_leap_year
else
minutes_with_offset = distance_in_minutes