summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-12-22 14:44:05 +0100
committerDenis Ledoux <dle@odoo.com>2016-12-22 14:48:11 +0100
commit798a10082cce87fc38e95164eea606d491b777a0 (patch)
tree8afcd26069394e22e37ccc50021cf86a53191304 /addons/web/static/src/js/views/basic/basic_controller.js
parent09066fbbd5dba833dfcc2e50e406a14eacc8c10b (diff)
[FIX] google_calendar: fix allday timezone synchronisation
When syncrhonizing an allday event while being in a negative timezone e.g. Dec 22 in US/Eastner (-5:00) The event was synchronized the day before e.g. Dec 21 because `context_timestamp` of `start date-time-` was used, and then the time was removed to have the date of the all day event e.g. 2016-12-22 00:00:00 converted to 2016-12-21 19:00:00 and then the time removed 2016-12-21. Instead of using the `start_datetime`, we now use the start date which stores only the date, without timezone information (and this is what you would like in the case of an all day event). opw-697202
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions