summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2018-09-04 17:33:50 +0200
committerDavid Beguin <dbe@odoo.com>2018-09-05 15:22:50 +0200
commitec801b54365590a392bb0f71aa51cea13f778fdb (patch)
tree9a8c103d5892fda79faa9672a8e4b6d974d0fade /doc/reference/javascript_reference.rst
parent5d2bea62c379a0264e21f11852fa3a09e841072d (diff)
[FIX] calendar : all day event Date to Datetime error
- calendar.event.start and stop are expecting datetime and not date. Now, if 'All Day' event, start time = 00h00 and stop time = 23h59m59s - when switching from all day event to not all day event, due to stop time = 23h59m59s, the rounding for duration leads to make the stop pass to the next day (00h00). each time you switch between all day and not all day, the duiration is incremented by 24h. We remove 1 sec to event stop time to avoid this.
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions