datetime format is: 2012-07-18 10:00:00  

hi in view i have following code:
<td>{{=prettydate(row.deadline,T)}}</td>

but result is :
%d days ago 
%d days ago  
%d days ago   
%d days ago   
...
1 week ago
1 week ago
...
%d weeks ago 
%d weeks ago 
%d weeks ago 

how to display 
4 days ago
5 days ago
...
2 weeks ago
3 weeks ago
... 
...

-- 



Reply via email to