Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3110 Vizualizări

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!

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
ian. 20
5316
8
mai 23
61369
4
feb. 23
71736
0
mar. 21
6705
3
iul. 20
21082