Make today really today.

This commit is contained in:
Sergey Shkuratov 2022-01-14 18:08:08 +02:00
parent c8558e6b25
commit ebe4e9fe3c
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}
</style>
</style>