mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Merge pull request #1640 from Maxime-J/fr-fr-date-format
custom fr-FR date format
This commit is contained in:
commit
7b0b44b18d
1 changed files with 5 additions and 0 deletions
|
|
@ -198,6 +198,11 @@ export const customFormats = {
|
|||
p: 'ha',
|
||||
pp: 'h:mm:ss',
|
||||
},
|
||||
'fr-FR': {
|
||||
'M/d': 'd/M',
|
||||
'MMM d': 'd MMM',
|
||||
'EEE M/d': 'EEE d/M',
|
||||
},
|
||||
};
|
||||
|
||||
export function dateFormat(date, str, locale = 'en-US') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue