search for: distance_of_time_in_word_to_now

Displaying 1 result from an estimated 1 matches for "distance_of_time_in_word_to_now".

2006 Feb 01
1
distance_of_time_in_words_to_now with "ago" suffix
I wanted the distance_of_time_in_words_to_now method to have '' ago'' suffixed to it when the date is in the past, I assumed this would be the default behaviour but apparently not. I know of a REALLY messy way that i could solve this with, but it''s so ugly I can''t be bothered Does anybody have an easy, elegant solution?