Merge pull request #1640 from Maxime-J/fr-fr-date-format

custom fr-FR date format
This commit is contained in:
Mike Cao 2022-11-10 04:48:58 -08:00 committed by GitHub
commit 7b0b44b18d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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