Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5328 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
3367
0
bře 15
3702
2
led 24
3082
2
čvn 22
5040
7
pro 23
22765