跳至內容
選單
此問題已被標幟
5118 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
3201
0
3月 15
3538
2
1月 24
2717
2
6月 22
4655
7
12月 23
22212