Skip to Content
Menu
This question has been flagged
3543 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
3207
0
kov. 15
5121
2
saus. 24
2720
2
birž. 22
4656
2
birž. 18
6164