clarify that DateTime objects are allowed arguments

to distance_of_time_in_words
This commit is contained in:
Ray Baxter 2011-07-16 23:27:26 -07:00
parent 4ada0a58ae
commit 589ff96809

@ -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:
#