Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3157 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
3502
0
mar 15
5087
2
gen 24
2668
2
giu 22
4594
2
giu 18
6138