Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3089 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
janv. 20
5304
8
mai 23
61359
4
févr. 23
71724
0
mars 21
6697
3
juil. 20
21078