Tasks: changes dueToday to include all times before today

master
Andrew P Maney 2020-03-18 16:21:50 -07:00 committed by Tom Hacohen
parent 716240e266
commit e008bc19e8
1 changed files with 1 additions and 1 deletions

View File

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