MSP-3289 update date format in project

This commit is contained in:
veselovnk committed 2024-05-20 13:22:52 +03:00
1 parent f9559055be
commit b9f6de6968
10 files changed
+31 -18

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@ import { VersionType } from '@type/version.type'
import './compare-version-modal.scss'
import dayjs from 'dayjs'
import { dateFormats } from '@constants/date.ts'
const Original = CodeMirrorMerge.Original
@@ -52,7 +53,7 @@ const CompareVersionModal: FC<CompareVersionModalPropsType> = ({
title: 'Создано',
dataIndex: 'createdAt',
render: (value: string) => {
return dayjs(value).format('HH:mm:ss DD.MM.YYYY')
return dayjs(value).format(dateFormats.fullFormat)
}
},
{