mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 17:49:05 +03:00
fix(web): use locale for date picker (#26125)
This commit is contained in:
@@ -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 ?? '',
|
||||
|
||||
Reference in New Issue
Block a user