From ebe4e9fe3cdacf03ab55260d6c02717f8fc7f9fd Mon Sep 17 00:00:00 2001 From: Sergey Shkuratov Date: Fri, 14 Jan 2022 18:08:08 +0200 Subject: [PATCH] Make today really today. --- src/views/tasks/ShowTasks.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index d4f06ba33d..e4a482d41a 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -247,7 +247,8 @@ export default { showTodaysTasks() { const d = new Date() this.cStartDate = new Date() - this.cEndDate = new Date(d.setDate(d.getDate() + 1)) + this.cEndDate = new Date(d.setDate(d.getDate())) + this.cEndDate.setHours(23,59,0,0) this.showOverdue = true this.setDate() }, @@ -278,4 +279,4 @@ h3 { .llama-cool { margin-top: 2rem; } - \ No newline at end of file +