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

Hi,

I have a bug in DateTime:

- In browser I see 2018-10-18 AM

- And when I do 'record.my_date_field' I get '2018-10-17 PM', I find that he minus one hour, but sometimes more than 1 hours.

Thanks

アバター
破棄
最善の回答

This is not a bug, Odoo stores datetime in database in utc format. Later on view it is converted with user timezones.

so if you need to do operations on that fields, you have to convert and use accordingly.

See my question here

https://www.odoo.com/forum/help-1/question/time-zone-problem-in-odoo-118905

アバター
破棄
最善の回答

Odoo server is running with UTC time and this will be converted to the user time zone.

アバター
破棄
関連投稿 返信 ビュー 活動
1
8月 15
4485
3
8月 20
9949
3
6月 25
970
0
4月 24
1853
4
11月 23
5939