Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 15
3159
0
mar. 15
3504
2
jan. 24
2668
2
jun. 22
4595
7
dec. 23
22129