aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Duncan <mrduncan@gmail.com>2011-04-15 20:03:52 -0400
committerMatt Duncan <mrduncan@gmail.com>2011-04-15 20:03:52 -0400
commit8ac365f47626fd4d9569cf9c378c3a8f4f60eb58 (patch)
tree9cd5e134b26147665a115fd1205ad6c18072b955
parent3ca6d0e8fe72f6840049f7c2461243cf362b9896 (diff)
downloadrails-8ac365f47626fd4d9569cf9c378c3a8f4f60eb58.tar.gz
rails-8ac365f47626fd4d9569cf9c378c3a8f4f60eb58.tar.bz2
rails-8ac365f47626fd4d9569cf9c378c3a8f4f60eb58.zip
Making example result match actual result
-rw-r--r--actionpack/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 72ee31a246..4c65ebc1f3 100644
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -112,7 +112,7 @@ module ActionView
#
# ==== Examples
# time_ago_in_words(3.minutes.from_now) # => 3 minutes
- # time_ago_in_words(Time.now - 15.hours) # => 15 hours
+ # time_ago_in_words(Time.now - 15.hours) # => about 15 hours
# time_ago_in_words(Time.now) # => less than a minute
#
# from_time = Time.now - 3.days - 14.minutes - 25.seconds