mirror of https://github.com/portainer/portainer
12 lines
273 B
TypeScript
12 lines
273 B
TypeScript
|
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(),
|
||
|
}
|
||
|
);
|