跳至内容
菜单
此问题已终结
3503 查看

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
5087
2
1月 24
2668
2
6月 22
4595
2
6月 18
6138