forked from verdnatura/salix-front
Replace customer samples dateTime formatting with new utils
This commit is contained in:
parent
d8dc969614
commit
c856adc8d0
|
@ -7,7 +7,7 @@ import { QBtn } from 'quasar';
|
||||||
|
|
||||||
import FetchData from 'components/FetchData.vue';
|
import FetchData from 'components/FetchData.vue';
|
||||||
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
|
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
|
||||||
import { toDateHourMinSec } from 'src/filters';
|
import { toDateTimeFormat } from 'src/filters/date';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
@ -55,7 +55,7 @@ const columns = computed(() => [
|
||||||
field: 'created',
|
field: 'created',
|
||||||
label: t('Sent'),
|
label: t('Sent'),
|
||||||
name: 'sent',
|
name: 'sent',
|
||||||
format: (value) => toDateHourMinSec(value),
|
format: (value) => toDateTimeFormat(value),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|
Loading…
Reference in New Issue