More time-zone issues
Bug #943091 reported by
Charles McCreary
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
In a similar vein as https:/
If I understand correctly, datetime is set to UTC in the server. In hr_timesheet_
What would be the recommended best practice to fix this?
Related branches
lp:~zaber/openobject-addons/timesheet-tz
Ready for review
for merging
into
lp:openobject-addons/6.1
- OpenERP Core Team: Pending requested
-
Diff: 275 lines (+69/-37)4 files modifiedhr_attendance/hr_attendance.py (+7/-1)
hr_attendance/wizard/hr_attendance_sign_in_out.py (+2/-2)
hr_timesheet/wizard/hr_timesheet_sign_in_out.py (+3/-3)
hr_timesheet_sheet/hr_timesheet_sheet.py (+57/-31)
Changed in openobject-addons: | |
status: | Confirmed → Fix Released |
Changed in openobject-addons: | |
milestone: | 6.1 → 7.0 |
To post a comment you must log in.
> In hr_timesheet_ sheet_view. xml, <field name="date_current" nolabel="1"/> will always be UTC, which is not what I expect.
No, the display should use the local timezone, meaning the one used by your browser (which is generally the one set on your OS as well).