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

Hello everybody, I created a cron for assign a datetime field:

                fech = str(fecha_actual)+" 17:30:00"
                fech = datetime.strptime(fech, '%Y-%m-%d %H:%M:%S')


But when I go to Odoo in the UI I see 19:30:00 and not 17:30:00.


What could be the problem? Thank You so much!

Avatar
Zrušit
Nejlepší odpověď

it's because  server compute/store all the datetime field in UTC format and UI display it in your/browser timezone 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 20
5316
8
kvě 23
61369
4
úno 23
71734
0
bře 21
6704
3
čvc 20
21082