What error is being raised? What is the type of item.now?
On Tuesday, August 14, 2012 6:00:31 PM UTC-4, Pystar wrote:
>
> I just noticed that doing {{=prettydate(request.now, T)}} in my views
> works, but doing {{=prettydate(item.now, T)}} doesnt work in my views, even
> when my default value in the database definition is request.now for the
> timestamp. What exactly am I doing wrong?
>
> On Tuesday, August 14, 2012 8:32:18 PM UTC+1, Pystar wrote:
>>
>> tried prettydate(item.timestamp, T) still didnt work
>>
>> On Tuesday, August 14, 2012 8:16:39 PM UTC+1, rochacbruno wrote:
>>>
>>> maybe
>>>
>>> {{=prettydate(item.timestamp, *T*)}}
>>>
>>
--