feat: 12h format

This commit is contained in:
Rushat Gabhane
2024-05-08 19:17:47 +05:30
parent 968b116012
commit bbcbc56e70

View File

@ -64,7 +64,10 @@ export const DocumentsDataTable = ({
header: 'Created',
accessorKey: 'createdAt',
cell: ({ row }) => (
<LocaleDate date={row.original.createdAt} format={DateTime.DATETIME_SHORT} />
<LocaleDate
date={row.original.createdAt}
format={{ ...DateTime.DATETIME_SHORT, hourCycle: 'h12' }}
/>
),
},
{