From e008bc19e89ff045a4880ab63641a4d337352e37 Mon Sep 17 00:00:00 2001 From: Andrew P Maney Date: Wed, 18 Mar 2020 16:21:50 -0700 Subject: [PATCH] Tasks: changes dueToday to include all times before today --- src/pim-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pim-types.ts b/src/pim-types.ts index ec74082..a3c3cdf 100644 --- a/src/pim-types.ts +++ b/src/pim-types.ts @@ -227,7 +227,7 @@ export class TaskType extends EventType { } get dueToday() { - return this.dueDate && moment(this.dueDate.toJSDate()).isSame(moment(), 'day'); + return this.dueDate && moment(this.dueDate.toJSDate()).isSameOrBefore(moment(), 'day'); } public clone() {