- fix datetime in transaction history

This commit is contained in:
Fadli 2023-01-16 11:48:38 +07:00
parent c16156da50
commit 4ccab348a5

View File

@ -817,7 +817,7 @@ export const Profile = observer(() => {
<br /> <br />
<small> <small>
Transaction Date :{" "} Transaction Date :{" "}
{moment(new Date (item.created_at).toISOString().replace('Z', ' ').replace('T', ' ')).format("MM-DD-YYYY HH:mm:ss")} {moment(new Date (item.created_at).toISOString().slice(0, -1)).format("MM-DD-YYYY HH:mm:ss")}
</small>{" "} </small>{" "}
<br /> <br />
</p> </p>