- fix datetime in transaction history
This commit is contained in:
parent
7b6ab1b460
commit
9cf9299824
|
@ -238,7 +238,7 @@ export const Profile = observer(() => {
|
|||
render: (text, record) => {
|
||||
return (
|
||||
<Text>
|
||||
{moment(record.created_at.toLocaleString('en-GB')).format("MM-DD-YYYY HH:mm:ss")}
|
||||
{moment(new Date (record.created_at).toISOString().replace('Z', ' ').replace('T', ' ')).format("MM-DD-YYYY HH:mm:ss")}
|
||||
</Text>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user