تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
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
أبريل 25
7568
0
مارس 25
1284
1
مارس 25
30
0
مارس 25
1134
0
فبراير 25
1078