Just do this on the client side. http://ejohn.org/blog/javascript-pretty-date/ http://yoan.dosimple.ch/blog/2008/01/20/
Cheers, -- Yoan On Tue, Sep 23, 2008 at 8:09 AM, Domen Kožar <[EMAIL PROTECTED]> wrote: > > http://docs.pylonshq.com/thirdparty/webhelpers/date.html#webhelpers-date > > On 23 sep., 03:50, Krishgy <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> In my Pylons site, I have to display the approximate posted time of >> the content to the user. >> >> For example, >> >> 1. posted 2 hours ago >> 2. Posted yesterday >> 3. Posted 2 days ago >> 4. Posted last month >> 5. posted two months ago >> >> I have the created column in the database which is actually timestamp. >> Are there any easiest way of doing the above? >> >> I don't have any clue. Please help me out. >> >> Regards, >> >> Krish > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
