custom fr-FR date format

This commit is contained in:
Maxime-J 2022-11-07 18:38:43 +00:00
parent 990d76ff45
commit 268c036632

View File

@ -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') {