portainer/app/react/kubernetes/applications/DetailsView/ApplicationContainersDatatable/columns/creationDate.tsx

12 lines
273 B
TypeScript
Raw Normal View History

import { formatDate } from '@/portainer/filters/filters';
import { columnHelper } from './helper';
export const creationDate = columnHelper.accessor(
(row) => formatDate(row.creationDate),
{
header: 'Creation Date',
cell: ({ getValue }) => getValue(),
}
);