Skip to Content
Menu
This question has been flagged
3206 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
3540
0
kov. 15
5120
2
saus. 24
2719
2
birž. 22
4656
2
birž. 18
6164