Replace Customer Notes dateTime formatting with new utils
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
William Buezas 2024-03-28 16:11:01 -03:00
parent c856adc8d0
commit e1f8b7217a
1 changed files with 2 additions and 7 deletions

View File

@ -2,7 +2,7 @@
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import { date } from 'quasar'; import { toDateTimeFormat } from 'src/filters/date';
import VnPaginate from 'src/components/ui/VnPaginate.vue'; import VnPaginate from 'src/components/ui/VnPaginate.vue';
@ -48,12 +48,7 @@ const toCustomerNoteCreate = () => {
{{ item.worker.user.nickname }} {{ item.worker.user.nickname }}
</p> </p>
<p class="color-vn-label"> <p class="color-vn-label">
{{ {{ toDateTimeFormat(item?.created) }}
date.formatDate(
item?.created,
'DD-MM-YYYY HH:mm:ss'
)
}}
</p> </p>
</div> </div>
<h6 class="q-mt-xs q-mb-none">{{ item.text }}</h6> <h6 class="q-mt-xs q-mb-none">{{ item.text }}</h6>