|
|
|
@ -25,7 +25,7 @@ if (!vModel.value.meta?.time_format) {
|
|
|
|
|
<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-option v-for="(format, i) of dateFormats" :key="i" :value="format"> |
|
|
|
|
<div class="flex gap-2 w-full justify-between items-center"> |
|
|
|
|
<div class="flex gap-2 w-full justify-between items-center" :data-testid="`nc-date-${format}`"> |
|
|
|
|
{{ format }} |
|
|
|
|
<component |
|
|
|
|
:is="iconMap.check" |
|
|
|
@ -40,7 +40,7 @@ if (!vModel.value.meta?.time_format) {
|
|
|
|
|
<a-form-item :label="$t('labels.timeFormat')"> |
|
|
|
|
<a-select v-model:value="vModel.meta.time_format" class="nc-time-select" dropdown-class-name="nc-dropdown-time-format"> |
|
|
|
|
<a-select-option v-for="(format, i) of timeFormats" :key="i" :value="format"> |
|
|
|
|
<div class="flex gap-2 w-full justify-between items-center"> |
|
|
|
|
<div class="flex gap-2 w-full justify-between items-center" :data-testid="`nc-time-${format}`"> |
|
|
|
|
{{ format }} |
|
|
|
|
<component |
|
|
|
|
:is="iconMap.check" |
|
|
|
|