Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3186 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3532
0
thg 3 15
5108
2
thg 1 24
2705
2
thg 6 22
4641
2
thg 6 18
6153