This commit is contained in:
Peter Maquiran
2023-04-21 16:26:13 +01:00
parent 0c27c2f213
commit 8639f08f9e
4 changed files with 11 additions and 15 deletions
+1 -5
View File
@@ -105,11 +105,7 @@ export class TaskService {
}
const creationDate = new Date(isoDateString)
const creationDatePlus24h = new Date(creationDate)
creationDatePlus24h.setHours((creationDate.getHours() + 24))
const currentDate = new Date()
return creationDatePlus24h.getTime() > currentDate.getTime()
return momentG(new Date(), 'dd MMMM yyyy') == momentG(new Date(creationDate), 'dd MMMM yyyy')
}
filter(item, attribute) {