Skip to Content
Menú
This question has been flagged
3184 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
3530
0
de març 15
5106
2
de gen. 24
2697
2
de juny 22
4637
2
de juny 18
6152