hunk.code_window: import _ from 'lodash-es';
   import angular from 'angular';
   import PortainerError from 'Portainer/error';
   import KubernetesApplicationHelper from 'Kubernetes/helpers/application';
   import KubernetesApplicationConverter from 'Kubernetes/converters/application';
   import { KubernetesStatefulSet } from 'Kubernetes/models/stateful-set/models';
   import KubernetesServiceHelper from 'Kubernetes/helpers/serviceHelper';
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: import { KubernetesApplicationDeploymentTypes, KubernetesApplicationTypes } from 'Kubernetes/models/application/models/appConstants';
  
hunk.file_path: app/kubernetes/services/applicationService.js
hunk.type: add
file: import { formatDate } from '@/portainer/filters/filters';
  
  import { SecretRowData } from '../types';
  
  import { columnHelper } from './helper';
  
  export const created = columnHelper.accessor((row) => getCreatedAtText(row), {
    header: 'Created',
    id: 'created',
    cell: ({ row }) => getCreatedAtText(row.original),
  });
  
  function getCreatedAtText(row: SecretRowData) {
    const owner =
      row.metadata?.labels?.['io.portainer.kubernetes.configuration.owner'];
    const date = formatDate(row.metadata?.creationTimestamp);
    return owner ? `${date} by ${owner}` : date;
  }
  