Skip to Content
Menu
This question has been flagged
3354 Zobrazenia

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.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 15
3691
0
mar 15
5324
2
jan 24
3069
2
jún 22
5027
2
jún 18
6501