diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-02-27 18:35:38 -0800 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-06 08:58:06 +0100 |
| commit | 31ad2aa31ea663ce957adc6ab8b55a64d66e8f1f (patch) | |
| tree | 2508ceb63e4fc0210b23884a3220b0a47aace415 /addons/web/static/src/js/views/basic | |
| parent | 6deed451ee686d104583cb33d66c5fbc400cad8d (diff) | |
[FIX] crm: avoid timezone date change to mess with dashboard stats
Have your OS be in Vancouver with time = 15:59:00
We are on day X
Have a next activity on a lead, scheduled for today
At 15:59:00 the next activity is not overdue
Before this commit:
Past 16:00:00 the next activity becomes overdue
This is because 16:00:00 is 00:00:00 in UTC (+8 hours)
And the next activity is scheduled for day X
But in UTC, we just passed at day X+1
Hence, the next activity being overdue
After this commit:
The next activity is not overdue, since we are actually on day X
OPW 1815323
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
