This commit is contained in:
Muhammad Fadli 2023-05-04 10:18:28 +07:00
commit b9dc137976
2 changed files with 4 additions and 4 deletions

View File

@ -208,7 +208,7 @@ export const DetailUser = observer(() => {
render: (text, record) => { render: (text, record) => {
return ( return (
<Text> <Text>
{moment(new Date (record.transaction_date).toISOString().slice(0, -1)).format("dd MMMM yyyy")} {moment(new Date (record.transaction_date).toISOString().slice(0, -1)).format("DD MMMM YYYY")}
</Text> </Text>
); );
}, },
@ -900,7 +900,7 @@ export const DetailUser = observer(() => {
<br /> <br />
<small> <small>
Transaction Date :{" "} Transaction Date :{" "}
{moment(new Date (item.transaction_date).toISOString().slice(0, -1)).format("dd-MM-yyyy hh:mm:ss")} {moment(new Date (item.transaction_date).toISOString().slice(0, -1)).format("DD MMMM YYYY hh:mm:ss")}
</small>{" "} </small>{" "}
<br /> <br />
</p> </p>

View File

@ -273,7 +273,7 @@ export const Profile = observer(() => {
render: (text, record) => { render: (text, record) => {
return ( return (
<Text> <Text>
{moment(new Date (record.transaction_date).toISOString().slice(0, -1)).format("dd MMMM yyyy HH:mm:ss")} {moment(new Date (record.transaction_date).toISOString().slice(0, -1)).format("DD MMMM YYYY HH:mm:ss")}
</Text> </Text>
); );
}, },
@ -678,7 +678,7 @@ export const Profile = observer(() => {
<br /> <br />
<small> <small>
Transaction Date :{" "} Transaction Date :{" "}
{moment(new Date (item.transaction_date).toISOString().slice(0, -1)).format("dd-MM-yyyy")} {moment(new Date (item.transaction_date).toISOString().slice(0, -1)).format("DD MMMM YYYY")}
</small>{" "} </small>{" "}
<br /> <br />
</p> </p>