mirror of https://github.com/portainer/portainer
15 lines
403 B
TypeScript
15 lines
403 B
TypeScript
import { Column } from 'react-table';
|
|
|
|
import { isoDateFromTimestamp } from '@/portainer/filters/filters';
|
|
import type { DockerContainer } from '@/docker/containers/types';
|
|
|
|
export const created: Column<DockerContainer> = {
|
|
Header: 'Created',
|
|
accessor: 'Created',
|
|
id: 'created',
|
|
Cell: ({ value }) => isoDateFromTimestamp(value),
|
|
disableFilters: true,
|
|
canHide: true,
|
|
Filter: () => null,
|
|
};
|