Skip to content

Commit

Permalink
clarify that DateTime objects are allowed arguments
Browse files Browse the repository at this point in the history
to distance_of_time_in_words
  • Loading branch information
raybaxter committed Jul 17, 2011
1 parent 4ada0a5 commit 589ff96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/date_helper.rb
Expand Up @@ -18,7 +18,7 @@ module Helpers
# the <tt>select_month</tt> method would use simply "date" (which can be overwritten using <tt>:prefix</tt>) instead
# of "date[month]".
module DateHelper
# Reports the approximate distance in time between two Time or Date objects or integers as seconds.
# Reports the approximate distance in time between two Time, Date or DateTime objects or integers as seconds.
# Set <tt>include_seconds</tt> to true if you want more detailed approximations when distance < 1 min, 29 secs.
# Distances are reported based on the following table:
#
Expand Down

0 comments on commit 589ff96

Please sign in to comment.