mirror of https://github.com/portainer/portainer
feat(edge/updates): schedule time changes [EE-5975] (#10458)
parent
436da01bce
commit
ad5a17ac34
@ -1,5 +1,12 @@
|
||||
import { formatDate } from '@/portainer/filters/filters';
|
||||
|
||||
import { FORMAT } from '../../common/ScheduledTimeField';
|
||||
|
||||
import { columnHelper } from './helper';
|
||||
|
||||
export const scheduledTime = columnHelper.accessor('scheduledTime', {
|
||||
header: 'Scheduled Time & Date',
|
||||
// make sure the value has the right format
|
||||
cell: ({ getValue }) => formatDate(getValue(), FORMAT, FORMAT),
|
||||
id: 'time',
|
||||
});
|
||||
|
Loading…
Reference in new issue