summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/testing.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-04-13 16:31:04 +0200
committerOlivier Dony <odo@openerp.com>2015-04-23 14:11:24 +0200
commit81a3f5665154bc3c864d5910d50a44496b4fc295 (patch)
treef3cf8f4bb411a3306071f51631d346ac79460a0a /addons/web/static/src/js/testing.js
parent76881fb2262c9fcfc306c8b1f6d2394b402d0ce1 (diff)
[FIX] stock,event,pos: fix "today" filter with regard to timezones
The previous filters didn't take timezones into account, and returned stringified naive datetime values in local browser time. Those would then be interpreted by the server-side as UTC date, and depending on the current timezone offset vs UTC, yield partially incorrect results. By returning directly a datetime.datetime object instead of a stringified version (see previous commit 76881fb), we can get the expected result regarless of the timezone. Fixes #2972 Closes #6229 opw-621282
Diffstat (limited to 'addons/web/static/src/js/testing.js')
0 files changed, 0 insertions, 0 deletions