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

I want to put the delivery date on my sale order confirmation email, but it automatically puts the date + time. However, since it’s only an estimation, I don’t want to add the time to it. How can I remove it?


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

At the end of your t-out expression (replaces the placeholders in the v15), add this: .date(). It will remove the time from your date-time format. 

Example: t-out="object.expected_date.date()"




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
7772
0
thg 3 25
1315
1
thg 3 25
30
0
thg 3 25
1165
0
thg 2 25
1129