Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4778 Lượt xem

Odoov10 Calendar: calendar view displays UTC for start_datetime not the user's timezone (America/Los_Angeles), all other Calendar views will display 'start_datetime' as user's timezone (America/Los_Angeles) correctly?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have same problem. start_datetime on calendar view is utc, but when i click, it shows as local timezone. there is a go around: set postgresql and odoo timezone as utc.  

solve the problem:

change file:  odoo-dev/addons/web_calendar/static/lib/fullcalendar/js/fullcalendar.js

< ignoreTimezone: true,

<

---

> //ignoreTimezone: true,

> ignoreTimezone: false,



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
3295
1
thg 1 24
1499
0
thg 5 17
4713
1
thg 2 22
4615
0
thg 6 21
2644