Ir al contenido
Menú
Se marcó esta pregunta

Lot of people have problems to split datetime format in report. 

An exemple:

<span t-esc="o.date.split(' ')[-0].split('-')[-1] + '/' + o.date.split('-')[-2] + '/' + o.date.split('-')[0]"/>

This return format 01/01/2014

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3154
0
mar 15
3493
2
ene 24
2665
2
jun 22
4592
7
dic 23
22122