コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2521 ビュー

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
7779
0
3月 25
1322
1
3月 25
30
0
3月 25
1171
0
2月 25
1133