I've written a gem for this that's also context-sensitive regarding today's date, so it knows whether a post occurred this Monday or last Monday, for instance. It extends ActiveSupport::TimeWithZone, so it works with your ActiveRecord objects out of the box.
https://github.com/brettshollenberger/hublot Cheers, Brett On Sunday, March 7, 2010 4:19:34 AM UTC-5, Joshua Partogi wrote: > > Hi everyone. > > Does anybody know a good plugin for displaying a human readable time. > I like the ones on github. Django also has this built in, but I can > not find it for rails. Can anybody tell me a good plugin for this? > > Thank you for your help. > > > Kind regards, > > -- > http://twitter.com/scrum8 > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2f39ea08-5857-4f77-8d70-2569c88d32c9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.