← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 881343] [NEW] [6.1 trunk] server/client/web unsinchronised timezones

 

Public bug reported:

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-services:successful login from 'admin' using database 'bs_02'
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

** Affects: openobject-client
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/881343

Title:
  [6.1 trunk] server/client/web unsinchronised timezones

Status in OpenERP GTK Client:
  New

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-services:successful login from 'admin' using database 'bs_02'
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/881343/+subscriptions


Follow ups

References