跳至內容
選單
此問題已被標幟
1 回覆
2469 瀏覽次數

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?


頭像
捨棄
作者 最佳答案

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()"




頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 25
7568
0
3月 25
1284
1
3月 25
30
0
3月 25
1134
0
2月 25
1078