Skip to Content
Menu
This question has been flagged
5355 Zobrazenia

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šiť
Related Posts Replies Zobrazenia Aktivita
0
mar 15
3377
0
mar 15
3714
2
jan 24
3102
2
jún 22
5053
7
dec 23
22800