Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3100 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 20
5313
8
mag 23
61369
4
feb 23
71730
0
mar 21
6704
3
lug 20
21080