fix svelte warning

This commit is contained in:
bytedream committed 2026-10-29 14:26:59 +01:00
1 parent cba04f482c
commit c5673f1ad4
1 file changed
+9 -7
+9 -7
View File
@@ -7,13 +7,15 @@
let { end }: Props = $props(); let { end }: Props = $props();
const title = `Spielstart ist am ${end.toLocaleString('de-DE', { let title = $derived(
day: '2-digit', `Spielstart ist am ${end.toLocaleString('de-DE', {
month: 'long', day: '2-digit',
year: 'numeric', month: 'long',
hour: '2-digit', year: 'numeric',
minute: '2-digit' hour: '2-digit',
})} Uhr`; minute: '2-digit'
})} Uhr`
);
function getUntil(): [number, number, number, number] { function getUntil(): [number, number, number, number] {
const now = new Date(); const now = new Date();