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.
Could you be a bit more explicit about exactly what you want to see?
strftime works for me but perhaps I misunderstand your requirement.
You got that right. That is exactly what I am looking for. I should
have looked in ActionPack before asking next time.
Thanks for your help.
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.