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

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
3159
0
3月 15
5088
2
1月 24
2668
2
6月 22
4596
2
6月 18
6139