コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3098 ビュー

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
5312
8
5月 23
61368
4
2月 23
71730
0
3月 21
6704
3
7月 20
21079