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

I know a lot of people have problems with the date format in emails. 

Here's how I bypass the problem:

For Sale Orders datetime exemple :

Date : ${object.date_order.split(" ")[-0].split("-")[-1] + "/" + object.date_order.split("-")[-2] + "/" + object.date_order.split("-")[0]} 

I share that because I searched a lot before finding the solution.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
3523
0
3月 15
5103
2
1月 24
2675
2
6月 22
4617
2
6月 18
6147