do so in view:
<td>{{=yourTable.deadline.date().strftime('%d-%m-%Y')}}</td>
Ovidio Marinho Falcao Neto
Web Developer
[email protected]
[email protected]
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9334 0266 - Claro
Brasil
2012/6/23 ctrlSoft <[email protected]>:
> hi, my datetime field format is
> Field('deadline','datetime', requires=IS_DATETIME(format=('%d-%m-%Y
> %H:%M:%S')), label=T('Deadline')),
>
> but in view row.deadline is displayed in this format 2012-06-27 11:00:00
> and in exported csv the same.
> how do i set datetime format that is displayed in view.
>
> --
--