mirror of
https://github.com/immich-app/immich.git
synced 2025-11-19 20:22:34 +09:00
fix(web): format dates with the locale preference (#18259)
fix: Format dates in settings according to user setting
This commit is contained in:
committed by
GitHub
parent
28d8357cc5
commit
1219fd82a0
@@ -72,6 +72,11 @@ export const dateFormats = {
|
||||
day: 'numeric',
|
||||
year: 'numeric',
|
||||
},
|
||||
settings: <Intl.DateTimeFormatOptions>{
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
year: 'numeric',
|
||||
},
|
||||
};
|
||||
|
||||
export enum QueryParameter {
|
||||
|
||||
Reference in New Issue
Block a user