If the server located in timezone 'CST', the pytz.timezone will return error
Bug #389544 reported by
digitalsatori(Shine IT)
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Fix Released
|
Critical
|
Olivier Dony (Odoo) | |||
Trunk |
Fix Released
|
Critical
|
Olivier Dony (Odoo) |
Bug Description
This error can happen anywhere in the GTK code where the pytz.timezone(
As the openerp server use 'time.tzname' to return the timezone name, when the server is located in 'CST' time zone, pytz.timezone(
description: | updated |
Changed in openobject-server: | |
status: | New → Confirmed |
Changed in openobject-server: | |
importance: | Undecided → Medium |
Changed in openobject-server: | |
importance: | Medium → Critical |
Changed in openobject-server: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
the 'time.tzname' used in web_services.py is not a reliable way to get the time zone info. For example, on Windows Chinese version, it will even return Chinese characters.