Ir al contenido
Menú
Se marcó esta pregunta
3158 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3503
0
mar 15
5087
2
ene 24
2668
2
jun 22
4595
2
jun 18
6138