From a35fa1dddabeeaf78993a4739c196d588ad7dcd8 Mon Sep 17 00:00:00 2001 From: bernd Date: Thu, 13 Aug 2026 13:36:59 +0000 Subject: [PATCH] =?UTF-8?q?M=C3=BCll-Erinnerung=20erst=203=20Tage=20vorher?= =?UTF-8?q?=20statt=207=20Tage=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-dashboard/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-dashboard/index.html b/web-dashboard/index.html index 4ab64f6..6387b8f 100644 --- a/web-dashboard/index.html +++ b/web-dashboard/index.html @@ -3258,6 +3258,8 @@ const today = stripTime(new Date()); const weekAhead = new Date(today); weekAhead.setDate(weekAhead.getDate() + 7); + const trashAhead = new Date(today); + trashAhead.setDate(trashAhead.getDate() + 3); if (lastCockpitData && lastCockpitData.myRent && lastCockpitData.myRent.status !== 'GREEN') { items.push({ @@ -3281,7 +3283,7 @@ try { const from = today.toISOString().slice(0, 10); - const to = weekAhead.toISOString().slice(0, 10); + const to = trashAhead.toISOString().slice(0, 10); const data = await apiFetch(`/trash-schedule?from=${from}&to=${to}`); data.entries.filter(e => !e.completedAt).forEach(e => { items.push({