- fix datetime in transaction history

This commit is contained in:
Fadli 2023-01-11 03:23:29 +07:00
parent 923f788a59
commit f2f4c1e510
2 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ export const DetailUser = observer(() => {
render: (text, record) => {
return (
<Text>
{format(parseISO(record.created_at), "MM-dd-yyyy HH:mm:ss")}
{moment(record.created_at).format( "MM-DD-yyyy HH:mm:ss")}
</Text>
);
},

View File

@ -238,7 +238,7 @@ export const Profile = observer(() => {
render: (text, record) => {
return (
<Text>
{format(parseISO(record.created_at), "dd-MM-yyyy HH:mm:ss")}
{moment(record.created_at).format( "MM-DD-yyyy HH:mm:ss")}
</Text>
);
},