Hi: I'm using the time_ago_in_words in words function. Is there anyway to get it to register only in days - some options I'm not setting? Meaning to display in days only, so instead of going to a month, year, etc., to register a #of days? I looked in the api for the function and don't see it. If not, is there another function of which I'm not aware? Thanks so much in advance! Mike
on 2007-02-18 14:54
on 2007-02-18 16:54
Hi, I remember seeing this as a new feature in Rails 1.2 bundled ActiveSupport library. Regards, Oyku.
on 2007-02-18 17:39
Rails Pre-1.2 did this, you could grab the old time_ago_in _words and use it to override the new one in your app. ~Jamie On Feb 18, 5:54 am, Mike Dershowitz <rails-mailing-l...@andreas-s.net>
on 2007-02-18 17:48
firstname.lastname@example.org wrote: > Rails Pre-1.2 did this, you could grab the old time_ago_in _words and > use it to override the new one in your app. > > ~Jamie > > On Feb 18, 5:54 am, Mike Dershowitz <rails-mailing-l...@andreas-s.net> Hi Jamie: Thanks very much for your reply. Are you talking about extending and overriting time_ago_in_words or is there some parameter that would do it? Thanks again! Mike