87828 threads
1724 threads
3 emails from 3 people
any idea how to use distance_of_time_in_words_to_now? -- Posted via http://www.ruby-forum.com/.
pd wrote:> any idea how to use distance_of_time_in_words_to_now? <%=distance_of_time_in_words_to_now(@some_date)%> -- Posted via http://www.ruby-forum.com/.
> any idea how to use distance_of_time_in_words_to_now?
pd wrote:> any idea how to use distance_of_time_in_words_to_now? Say, in a view: <%= distance_of_time_in_words_to_now(Time.now) %> would output "less than a minute". -- Jakob Skjerning - http://mentalized.net