diff --git a/src/lib/components/filters/content.svelte b/src/lib/components/filters/content.svelte index 0f237a429..85f2960da 100644 --- a/src/lib/components/filters/content.svelte +++ b/src/lib/components/filters/content.svelte @@ -65,8 +65,7 @@ value = column?.array ? [] : null; if (column?.type === 'datetime') { const now = new Date(); - const datetimeString = now.toISOString().slice(0, 16); - value = datetimeString; + value = now.toISOString().slice(0, 16); } });