콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7271 화면

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
4696
3
8월 20
10241
3
6월 25
1278
0
4월 24
2122
4
11월 23
6260