aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-08 03:46:23 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-08 03:46:23 +0000
commit931be6ed1bd5b918d22e37164369b1c388935658 (patch)
treef7e4b51d70083ab452b225ab0b8808ab4598ce21 /actionpack
parent8a2fa23cd1bd0c91ecef8ff20c3d6cbe11d6734d (diff)
downloadrails-931be6ed1bd5b918d22e37164369b1c388935658.tar.gz
rails-931be6ed1bd5b918d22e37164369b1c388935658.tar.bz2
rails-931be6ed1bd5b918d22e37164369b1c388935658.zip
1 years -> 1 year
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rwxr-xr-xactionpack/lib/action_view/helpers/date_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb
index 9903bed34d..a0405a5105 100755
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -48,7 +48,7 @@ module ActionView
# distance_of_time_in_words(from_time, from_time + 45.seconds, true) # => less than a minute
# distance_of_time_in_words(from_time, from_time - 45.seconds, true) # => less than a minute
# distance_of_time_in_words(from_time, 76.seconds.from_now) # => 1 minute
- # distance_of_time_in_words(from_time, from_time + 1.year + 3.days) # => about 1 years
+ # distance_of_time_in_words(from_time, from_time + 1.year + 3.days) # => about 1 year
# distance_of_time_in_words(from_time, from_time + 4.years + 15.days + 30.minutes + 5.seconds) # => over 4 years
#
# to_time = Time.now + 6.years + 19.days