Fix UTC time

This commit is contained in:
divlo
2020-08-04 11:42:21 +02:00
parent 3877e974c5
commit 9f068614f5
6 changed files with 10 additions and 10 deletions

View File

@ -41,8 +41,8 @@ const Profile = props => {
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
)}
</p>
</div>
@ -316,7 +316,7 @@ const Profile = props => {
{date.format(
new Date(comment.createdAt),
'DD/MM/YYYY à HH:mm',
true
false
)}
</p>
<ReactMarkdown