From 04881a1bd628123cd86a599ff2e39f4d3a9b1399 Mon Sep 17 00:00:00 2001 From: James Clarke Date: Thu, 6 Mar 2025 19:11:38 +0000 Subject: [PATCH] Tomorrow Showing Correctly --- apps/agenda/agenda.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/agenda/agenda.js b/apps/agenda/agenda.js index 5bf0b0ff6..f8fffc643 100644 --- a/apps/agenda/agenda.js +++ b/apps/agenda/agenda.js @@ -47,8 +47,8 @@ function formatDay(date) { if (date.getDate() == today.getDate()) return /*LANG*/"Today "; else { - const tomorrow = new Date(Date.now()); - tomorrow.setDate(today.getDate + 1); + var tomorrow = new Date(); + tomorrow.setDate(tomorrow.getDate() + 1); if (date.getDate() == tomorrow.getDate()) { return /*LANG*/"Tomorrow "; }