From 093c367d7eb570320d641dcb0b5e130f8c6f6356 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 28 Mar 2024 16:18:36 -0300 Subject: [PATCH] Replace Customer Mandates dateTime formatting with new utils --- src/pages/Customer/Card/CustomerMandates.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Customer/Card/CustomerMandates.vue b/src/pages/Customer/Card/CustomerMandates.vue index 32ce79480..7af3e5828 100644 --- a/src/pages/Customer/Card/CustomerMandates.vue +++ b/src/pages/Customer/Card/CustomerMandates.vue @@ -3,7 +3,7 @@ import { computed, ref } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; -import { toDateHourMinSec } from 'src/filters'; +import { toDateTimeFormat } from 'src/filters/date'; import FetchData from 'components/FetchData.vue'; @@ -74,14 +74,14 @@ const columns = computed(() => [ field: 'created', label: t('Register date'), name: 'registerDate', - format: (value) => toDateHourMinSec(value), + format: (value) => toDateTimeFormat(value), }, { align: 'left', field: 'finished', label: t('End date'), name: 'endDate', - format: (value) => (value ? toDateHourMinSec(value) : '-'), + format: (value) => (value ? toDateTimeFormat(value) : '-'), }, ]);