|
|
@ -19,7 +19,7 @@ if (!vModel.value.meta?.date_format) { |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<a-form-item :label="$t('labels.dateFormat')"> |
|
|
|
<a-form-item :label="$t('labels.dateFormat')"> |
|
|
|
<a-select v-model:value="vModel.meta.date_format" class="nc-date-select" dropdown-class-name="nc-dropdown-date-format"> |
|
|
|
<a-select v-model:value="vModel.meta.date_format" class="nc-date-select" dropdown-class-name="nc-dropdown-date-format"> |
|
|
|
<a-select-option v-for="(format, i) of [...dateFormats, ...dateMonthFormats]" :key="i" :value="format"> |
|
|
|
<a-select-option v-for="(format, i) of [...dateMonthFormats, ...dateFormats]" :key="i" :value="format"> |
|
|
|
<div class="flex gap-2 justify-between items-center" :data-testid="`nc-date-select-${format}`"> |
|
|
|
<div class="flex gap-2 justify-between items-center" :data-testid="`nc-date-select-${format}`"> |
|
|
|
{{ format }} |
|
|
|
{{ format }} |
|
|
|
<component |
|
|
|
<component |
|
|
|