Tasks: changes dueToday to include all times before today

master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent 716240e266
commit e008bc19e8

@ -227,7 +227,7 @@ export class TaskType extends EventType {
} }
get dueToday() { get dueToday() {
return this.dueDate && moment(this.dueDate.toJSDate()).isSame(moment(), 'day'); return this.dueDate && moment(this.dueDate.toJSDate()).isSameOrBefore(moment(), 'day');
} }
public clone() { public clone() {

Loading…
Cancel
Save