Merge pull request #4953 from helioguardabaxo/due-date-card-filter

Fix due date filter for next and this week.
This commit is contained in:
Lauri Ojansivu 2023-06-08 19:37:53 +03:00 committed by GitHub
commit 3d1c70b96b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');