sort of fix timestamps

This commit is contained in:
Telesphoreo 2022-06-23 18:41:21 -05:00
parent cad6999d90
commit dfbc016d82
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ const DownloadPage = () => {
return <li>[<a href={`https://github.com/AtlasMediaGroup/Scissors/commit/${value1.id}`}>{value1.id}</a>]&nbsp;&nbsp;{value1.comment}</li>
})}
</ul>
<span className={value.changes && value.changes?.length > 0 ? "date" : "date nochanges"}>{new Date(value.timestamp!).toISOString().split("T")[0]}</span>
<span className={value.changes && value.changes?.length > 0 ? "date" : "date nochanges"}>{new Date(value.timestamp!).toLocaleString()}</span>
</li>
})}
</ul>
@ -89,4 +89,4 @@ const DownloadPage = () => {
);
}
export default DownloadPage;
export default DownloadPage;