[addons][trunk] timezones aren't being applied correctly
Bug #925170 reported by
Graeme Gellatly
This bug report is a duplicate of:
Bug #925361: [6.1] date values that are initialized as 'defaults' may appear as "off by one day" in some countries depending on the time.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Timezone is Pacific/Auckland - UTC+13 currently
Client is set to correct timezone, as is host.
Also tested on web-client
Now if a Sales Order is created before 1pm it is dated as yesterday.
The problem seems to be that when calculating the date it uses the servers current time (UTC) and not the clients.
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | Incomplete → Confirmed |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → nobody |
To post a comment you must log in.
Hello Greame,
I have tested the same scenario at my end with Pacific/Auckland timezone and it gives a proper result (UTC+13).
I have created a sale order before 1pm then Creation date show tomorrow 1:00 am. It's correct and I have tested with GTK client because web client doesn't apply the timezone from client side.
For more information I have attached a screen-shot, So would you please check it and notify us where you faced the problem.
Thanks and waiting for your reply!