From 19dc6044cec121b266b2a3b9888b241b97e56159 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 17 Sep 2022 09:29:43 +0200 Subject: [PATCH] Update 'src/pages/CalendarPage.tsx' --- src/pages/CalendarPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/CalendarPage.tsx b/src/pages/CalendarPage.tsx index dbc5daf..cfe5a14 100644 --- a/src/pages/CalendarPage.tsx +++ b/src/pages/CalendarPage.tsx @@ -52,7 +52,7 @@ export default function CalendarPage() { .includes(filter?.toLocaleLowerCase() ?? ''); const date = new Date(c.date).getTime(); const currentDate = new Date().getTime(); - return queryMatches && currentDate - date > 24 * 60 * 60 * 1000; + return queryMatches && currentDate - date > -24 * 60 * 60 * 1000; }); };