fix(web): format dates with the locale preference (#18259)

fix: Format dates in settings according to user setting
This commit is contained in:
Sebastian Schneider
2025-05-16 18:03:54 +02:00
committed by GitHub
parent 28d8357cc5
commit 1219fd82a0
3 changed files with 15 additions and 9 deletions

View File

@@ -72,6 +72,11 @@ export const dateFormats = {
day: 'numeric',
year: 'numeric',
},
settings: <Intl.DateTimeFormatOptions>{
month: 'short',
day: 'numeric',
year: 'numeric',
},
};
export enum QueryParameter {