Merge branch 'main' of https://gitlab.com/empatnusabangsa/ppob/ppob-frontend into devops-production

This commit is contained in:
Fadli 2023-01-16 11:50:56 +07:00
commit 8155539801
2 changed files with 2 additions and 2 deletions

View File

@ -1066,7 +1066,7 @@ export const DetailUser = observer(() => {
<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>

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>