mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-17 09:53:13 +02:00
Merge pull request #1640 from Maxime-J/fr-fr-date-format
custom fr-FR date format
This commit is contained in:
commit
7b0b44b18d
|
@ -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…
Reference in New Issue
Block a user