diff options
| author | David Beguin <dbe@odoo.com> | 2020-09-04 14:04:10 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2020-10-08 09:13:58 +0000 |
| commit | 3d9a2de3575777c87327691319d89f9de6b8eada (patch) | |
| tree | ff3a7fe870ff20ac55ce2188a412b8efdbd376d0 /addons/google_drive | |
| parent | 6d6e48f34f850fa533ce00532ada0e3464c8144b (diff) | |
[FIX] website: get visitor tz directly from cookie
Since tz is now (from 6eb4762fee20a158023d774a90e7ee90c2cacec5) added to the client cookie,
visitor timezone can directly be set when creating the visitor, using the
request.
Jstz can be removed as even for module in ENT that used this lib,
we can get the timezone using Intl lib instead.
This will also reduce the number of request made only to get visitor's
timezone.
This commit reverts part of 17e84025239ed78716ed5d5d92c0ee0e10fbfb29
Linked ENT PR: 12963
Task ID: 2333825
closes odoo/odoo#57103
Related: odoo/enterprise#12963
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/google_drive')
0 files changed, 0 insertions, 0 deletions
