[web2py] some explanations needed on prettydate

2012-08-13 Thread Pystar
Hi guys, I am storing my timestamp in my database using the datetime.datetime.now() directive. And on display I want to use prettydate in my views, I am doing this in my views {{=prettydate(row.timestamp, T)}} but it fails silently by not displaying anything. I have tried it in the web2py

Re: [web2py] some explanations needed on prettydate

2012-08-13 Thread Bruno Rocha
It also happens for me, I did not found a better way to solve, but I think prettydate needs to be rewritten for accurate responses. On Mon, Aug 13, 2012 at 6:11 PM, Pystar aitoehi...@gmail.com wrote: Hi guys, I am storing my timestamp in my database using the datetime.datetime.now()