跳至内容
菜单
此问题已终结
1 回复
3111 查看

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 

形象
丢弃
相关帖文 回复 查看 活动
0
1月 20
5318
8
5月 23
61369
4
2月 23
71737
0
3月 21
6705
3
7月 20
21083