diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index 27ec245..a0aa58e 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -5,6 +5,7 @@ import {LINKS} from "../../routes/app"; import {useStore} from "../../utils/useStore"; import {observer} from "mobx-react-lite"; import {FilterOutlined} from "@ant-design/icons"; +import {format, parseISO} from "date-fns"; const {Title, Text} = Typography; @@ -47,6 +48,11 @@ export const Profile = observer(() => { title: 'Transaction Date', dataIndex: 'created_at', key: 'created_at', + render: (text, record) => { + return ( + {format(parseISO(record.created_at), 'dd MMMM yyyy HH:mm')} + ) + }, }, ]