Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
3155
0
mars 15
5081
2
janv. 24
2666
2
juin 22
4593
2
juin 18
6136