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

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
6月 25
67670
1
3月 25
2570
0
8月 22
3623
0
4月 21
5397
1
9月 23
3267