Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3178 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3522
0
mar 15
5102
2
sty 24
2674
2
cze 22
4617
2
cze 18
6147