Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2803 Zobrazení

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? 


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 25
67982
1
bře 25
2660
0
srp 22
3756
0
dub 21
5558
1
zář 23
3388