Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3527 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
3182
0
bře 15
5104
2
led 24
2691
2
čvn 22
4635
2
čvn 18
6151