mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-11-05 00:56:07 +00:00
sort of fix timestamps
This commit is contained in:
parent
cad6999d90
commit
dfbc016d82
@ -81,7 +81,7 @@ const DownloadPage = () => {
|
||||
return <li>[<a href={`https://github.com/AtlasMediaGroup/Scissors/commit/${value1.id}`}>{value1.id}</a>] {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;
|
||||
|
Loading…
Reference in New Issue
Block a user