|
|
@@ -42,13 +42,13 @@ const handleColumns = (columns: any) => {
|
|
|
return dayjs(row[column.field]).unix()
|
|
|
},
|
|
|
formatter: ({ cellValue }: any) =>
|
|
|
- cellValue ? dayjs(cellValue).format('MMM-YYYY-DD ') : '--'
|
|
|
+ cellValue ? dayjs(cellValue).format('MMM-DD-YYYY ') : '--'
|
|
|
}
|
|
|
} else if (item.formatter === 'dateTime') {
|
|
|
curColumn = {
|
|
|
...curColumn,
|
|
|
formatter: ({ cellValue }: any) =>
|
|
|
- cellValue ? dayjs(cellValue).format('MMM-YYYY-DD HH:mm:ss') : '--'
|
|
|
+ cellValue ? dayjs(cellValue).format('MMM-DD-YYYY HH:mm:ss') : '--'
|
|
|
}
|
|
|
}
|
|
|
return curColumn
|