mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-05 07:19:49 +00:00
Format date in dd-mm-yyyy
This commit is contained in:
parent
b74ab2fa0e
commit
af3d06e7d3
@ -72,7 +72,7 @@ const prepareContent = (content: string, maxLength = 100): string => {
|
||||
};
|
||||
|
||||
const formatDate = (datetime: DateTime): string => {
|
||||
return new Date(datetime.toString()).toLocaleDateString()
|
||||
return new Date(datetime.toString()).toLocaleDateString('fr-FR')
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user