diff --git a/website/components/FunctionCard/FunctionCard.jsx b/website/components/FunctionCard/FunctionCard.jsx index 42565b9..bfaaae3 100644 --- a/website/components/FunctionCard/FunctionCard.jsx +++ b/website/components/FunctionCard/FunctionCard.jsx @@ -67,7 +67,7 @@ const FunctionCard = memo( {props.categorie.name}

- {date.format(new Date(props.createdAt), 'DD/MM/YYYY', true)} + {date.format(new Date(props.createdAt), 'DD/MM/YYYY', false)}

diff --git a/website/components/FunctionPage/CommentCard/CommentCard.jsx b/website/components/FunctionPage/CommentCard/CommentCard.jsx index fc18dc6..8d292d4 100644 --- a/website/components/FunctionPage/CommentCard/CommentCard.jsx +++ b/website/components/FunctionPage/CommentCard/CommentCard.jsx @@ -82,7 +82,7 @@ const CommentCard = forwardRef((props, ref) => { {props.user.name}  -{' '} - {date.format(new Date(props.createdAt), 'DD/MM/YYYY à HH:mm', true)} + {date.format(new Date(props.createdAt), 'DD/MM/YYYY à HH:mm', false)}
diff --git a/website/components/FunctionPage/FunctionComponentTop.jsx b/website/components/FunctionPage/FunctionComponentTop.jsx index 0f8b55a..be05655 100644 --- a/website/components/FunctionPage/FunctionComponentTop.jsx +++ b/website/components/FunctionPage/FunctionComponentTop.jsx @@ -90,7 +90,7 @@ const FunctionComponentTop = props => {

- {date.format(new Date(props.createdAt), 'DD/MM/YYYY', true)} + {date.format(new Date(props.createdAt), 'DD/MM/YYYY', false)}

diff --git a/website/components/FunctionPage/FunctionForm.jsx b/website/components/FunctionPage/FunctionForm.jsx index 3d20a72..a885376 100644 --- a/website/components/FunctionPage/FunctionForm.jsx +++ b/website/components/FunctionPage/FunctionForm.jsx @@ -138,7 +138,7 @@ const FunctionForm = props => { const formattedDate = date.format( dateObject, 'DD/MM/YYYY', - true + false ) handleChange({ target: { diff --git a/website/pages/admin/manageCategories.jsx b/website/pages/admin/manageCategories.jsx index 5d76e82..05a0533 100644 --- a/website/pages/admin/manageCategories.jsx +++ b/website/pages/admin/manageCategories.jsx @@ -229,14 +229,14 @@ const manageCategories = props => { {date.format( new Date(category.createdAt), 'DD/MM/YYYY à HH:mm', - true + false )} {date.format( new Date(category.updatedAt), 'DD/MM/YYYY à HH:mm', - true + false )} { event.target.files != null ? event.target.files[0] : isTypeCheck - ? event.target.checked - : event.target.value + ? event.target.checked + : event.target.value setInputState(inputStateNew) } @@ -245,7 +245,7 @@ const Profile = props => { {date.format( new Date(props.createdAt), 'DD/MM/YYYY à HH:mm', - true + false )}

@@ -316,7 +316,7 @@ const Profile = props => { {date.format( new Date(comment.createdAt), 'DD/MM/YYYY à HH:mm', - true + false )}