Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3122 Представления

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!

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
янв. 20
5322
8
мая 23
61383
DateTime Python Решено
4
февр. 23
71751
0
мар. 21
6711
3
июл. 20
21087