Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3121 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jan. 20
5321
8
mai. 23
61379
4
fev. 23
71749
0
mar. 21
6710
3
jul. 20
21084