[6.1 trunk] server/client/web unsinchronised timezones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
There are some annoying "features" in the latest code.
I use ubuntu 11.10, py 2.7, oerp latest (srv/gtk/web), pgres 9.1
I first noticed that the log is written with two hours delay.
$ date gives: mardi 25 octobre 2011, 12:02:05 (UTC+0200)
$ echo $TZ gives: Europe/Zurich
openerp user timezone Europe/ZUrich
the log shows after a login, while writing this:
[2011-10-25 10:03:39,876][?] INFO:web-
two hours earlyer!!
i wrote some time data in a new database: there is a two hours difference between two fields which are supposed to be the same (in the particular case). please see file.
the create_date field is correct, showing the time of my actions.
the name field, while it is supposed to show the same, it has the two hours difference. BTW, my prod db, which has correct data in the name field, shows wrong times on screen (both cli and web).
If I change the timezone in the user config, everything looks just fine in the client, but not the log.
Is there any setting that I am missing? Or this is an unexpected behaviour?
Thank you,
Bogdan
I realise that the time coming through time.strftime() e.g. in the hr_timesheet module has also the UTC time, NOT the local time. See printscreen...