Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2708 มุมมอง

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? 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มิ.ย. 25
67669
1
มี.ค. 25
2570
0
ส.ค. 22
3623
0
เม.ย. 21
5397
How to Display image in Odoo Website แก้ไขแล้ว
1
ก.ย. 23
3266