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

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
5369
8
5월 23
61580
DateTime Python 해결 완료
4
2월 23
71890
0
3월 21
6827
3
7월 20
21206