mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-07 20:30:22 +00:00
update date picker with language
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user