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
3371
0
mar 15
3707
2
ene 24
3090
2
jun 22
5048
7
dic 23
22782