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() {