MSP-4163 fix createdAt field in tokens table
This commit is contained in:
1 parent
43802b7595
commit
6916d2e5c2
1 file changed
+2
-4
@@ -123,10 +123,8 @@ const TokenContent = ({ id }: TokenPropTypes) => {
|
||||
title: 'Дата/Время выпуска',
|
||||
dataIndex: 'createdAt',
|
||||
key: 'createdAt',
|
||||
render: (record) => {
|
||||
const formatTime = dayjs(record.createdAt).format(
|
||||
dateFormats.fullFormat
|
||||
)
|
||||
render: (value) => {
|
||||
const formatTime = dayjs(value).format(dateFormats.fullFormat)
|
||||
return <div>{formatTime}</div>
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user