update date picker with language

This commit is contained in:
vcoppe
2026-04-06 15:04:13 +02:00
parent 421aa9dc69
commit ba251fe407

View File

@@ -22,9 +22,9 @@
onchange?: (date: DateValue | undefined) => void; onchange?: (date: DateValue | undefined) => void;
} = $props(); } = $props();
const df = new DateFormatter(locale, { const df = $derived(new DateFormatter(locale, {
dateStyle: 'long', dateStyle: 'long',
}); }));
let contentRef = $state<HTMLElement | null>(null); let contentRef = $state<HTMLElement | null>(null);
</script> </script>