Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3137 Visninger

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
Kassér
Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jan. 20
5359
8
maj 23
61538
4
feb. 23
71874
0
mar. 21
6800
3
jul. 20
21185