Convert timespan to verbose description


I always see RoR pages showing the elapsed time like that

‘Published 3 days, 23 hour and 5 minutes ago’
‘Published less than 3 minutes ago’

I guess this conversion can be done using a Rails function, however I
can’t find it.

Does somebody know its name??

Thanks a lot

Pete wrote:

Does somebody know its name??
The functions that do this are distance_of_time_in_words and

Philip R. – DST-aware timezone library for Ruby

thank you so much ! :-)))))))))

Philip R. schrieb: