mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +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',
|
p: 'ha',
|
||||||
pp: 'h:mm:ss',
|
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') {
|
export function dateFormat(date, str, locale = 'en-US') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue