From 5219a8822f9e387acce72a2be8fe7031b7210c22 Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 17 May 2026 14:02:51 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Datumsformat=20ohne=20Z-Suffix=20f=C3=BC?= =?UTF-8?q?r=20PocketBase-Filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/routes/admin/dashboard/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/routes/admin/dashboard/+page.svelte b/app/src/routes/admin/dashboard/+page.svelte index fe8dd28..3c33b42 100644 --- a/app/src/routes/admin/dashboard/+page.svelte +++ b/app/src/routes/admin/dashboard/+page.svelte @@ -21,7 +21,7 @@ // User-Record explizit laden damit tenant-Relation sicher gesetzt ist const user = await pb.collection('users').getOne(pb.authStore.record!.id); const tenantId = user.tenant; - const dateStr = today.toISOString().replace('T', ' '); + const dateStr = today.toISOString().slice(0, 19).replace('T', ' '); const result = await pb.collection('check_logs').getList(1, 50, { filter: `tenant = '${tenantId}' && created >= '${dateStr}'`,