mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
11 lines
256 B
TypeScript
11 lines
256 B
TypeScript
import { formatDate } from '@/portainer/filters/filters';
|
|
|
|
import { columnHelper } from './helper';
|
|
|
|
export const date = columnHelper.accessor(
|
|
(event) => formatDate(event.lastTimestamp || event.eventTime),
|
|
{
|
|
header: 'Date',
|
|
id: 'Date',
|
|
}
|
|
);
|