fix(web): use locale for date picker (#26125)

This commit is contained in:
Michel Heusschen
2026-02-11 11:39:30 +01:00
committed by GitHub
parent 458d5f0f8f
commit 1c1a000c78
4 changed files with 11 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ export interface ThemeSetting {
}
// Locale to use for formatting dates, numbers, etc.
export const locale = persisted<string | undefined>('locale', 'default', {
export const locale = persisted('locale', 'default', {
serializer: {
parse: (text) => text || 'default',
stringify: (object) => object ?? '',