Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
0
मार्च 15
3686
0
मार्च 15
5319
2
जन॰ 24
3067
2
जून 22
5023
2
जून 18
6496