Permalink
Browse files

Days are never approximated using 'about'

  • Loading branch information...
1 parent 8ac365f commit 6ddd4a3d954cd81f96c747f515406be50041431a @mrduncan mrduncan committed Apr 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/date_helper.rb
@@ -51,7 +51,7 @@ module DateHelper
# distance_of_time_in_words(from_time, from_time + 15.seconds) # => less than a minute
# distance_of_time_in_words(from_time, from_time + 15.seconds, true) # => less than 20 seconds
# distance_of_time_in_words(from_time, 3.years.from_now) # => about 3 years
- # distance_of_time_in_words(from_time, from_time + 60.hours) # => about 3 days
+ # distance_of_time_in_words(from_time, from_time + 60.hours) # => 3 days
# 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

0 comments on commit 6ddd4a3

Please sign in to comment.