Fix due date filter for next and this week.

This commit is contained in:
helioguardabaxo 2023-06-08 12:43:26 -03:00
parent 594d8a8ba1
commit 946c288925

View file

@ -118,7 +118,7 @@ class DateFilter {
.add(weekStartDay, 'days');
var WeekEnd = WeekStart
.clone()
.add(offset, 'week')
.add(6, 'days')
.endOf('day');
this._updateState('thisweek');
@ -130,7 +130,7 @@ class DateFilter {
.add(weekStartDay + 7, 'days');
var WeekEnd = WeekStart
.clone()
.add(offset, 'week')
.add(6, 'days')
.endOf('day');
this._updateState('nextweek');