Skip to Content
Menu
This question has been flagged
3393 Rodiniai

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
3729
0
kov. 15
5376
2
saus. 24
3141
2
birž. 22
5089
2
birž. 18
6565