Skip to Content
Menú
This question has been flagged
1 Respondre
3129 Vistes

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
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de gen. 20
5335
8
de maig 23
61467
4
de febr. 23
71824
0
de març 21
6746
3
de jul. 20
21126