Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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? 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
cze 25
67675
1
mar 25
2574
0
sie 22
3627
0
kwi 21
5400
1
wrz 23
3268