تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2728 أدوات العرض

This is the event model from the calendar model using V14e

t-field="event.with_context(tz=event.event_tz).start" t-options='{"widget": "date","format": "EEEE dd-MMMM-yyyy"}


Shows " Sunday 09-April-2023"

But remove the t-options and it shows the time in my timezone.

t-field="event.start"

Shows "10/04/23 06:00:00" - this in my timezone. 

How do I keep the custom formatting and the timezone? 


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يونيو 25
67745
1
مارس 25
2583
0
أغسطس 22
3650
0
أبريل 21
5417
1
سبتمبر 23
3275