diff --git a/example/pages/listexample/_detail.vue b/example/pages/listexample/_detail.vue index db0697bb..82c72b2a 100644 --- a/example/pages/listexample/_detail.vue +++ b/example/pages/listexample/_detail.vue @@ -39,6 +39,7 @@ en: published: "Published" trash: "Trash" pubblicationDate: "Pubblication Date" + pubblicationDateTime: "Pubblication Date Time" pubblicationTime: "Pubblication Time" highlightImage: "Highlight Image" testTab: "Test tab en" @@ -65,6 +66,7 @@ it: published: "Pubblicato" trash: "Cestinato" pubblicationDate: "Data di pubblicazione" + pubblicationDateTime: "Data e ora di pubblicazione" pubblicationTime: "Ora di pubblicazione" highlightImage: "Immagine in evidenza" testTab: "Test tab it" @@ -375,7 +377,7 @@ export default { synci18n: true, }, { - value: "pubblication_date", + value: "publication_date", label: this.$t("pubblicationDate"), accessor: { set: ({ val, model }) => { @@ -394,9 +396,9 @@ export default { synci18n: true, }, { - value: "pubblication_date", - label: this.$t("pubblicationTime"), - type: "time", + value: "meta.pubblication_datetime", + label: this.$t("pubblicationDateTime"), + type: "datetime", synci18n: true, }, { @@ -404,13 +406,6 @@ export default { type: "time", synci18n: true, }, - { - value: "pubblication_date", - label: this.$t("pubblicationDate"), - type: "datetime", - synci18n: true, - attrs: { range: false }, - }, { value: "meta.range_datetime", type: "datetime", diff --git a/packages/@mapomodule/uikit/components/Form/fields/DateTimeField.vue b/packages/@mapomodule/uikit/components/Form/fields/DateTimeField.vue index b22c0b71..7aa19af0 100644 --- a/packages/@mapomodule/uikit/components/Form/fields/DateTimeField.vue +++ b/packages/@mapomodule/uikit/components/Form/fields/DateTimeField.vue @@ -54,6 +54,7 @@ @click="disableCalendar" @keydown="disableCalendar" /> + {{ $t('mapo.ok') }} diff --git a/packages/@mapomodule/uikit/components/Form/fields/TimeField.vue b/packages/@mapomodule/uikit/components/Form/fields/TimeField.vue index 6ec8f3dd..2cea7788 100644 --- a/packages/@mapomodule/uikit/components/Form/fields/TimeField.vue +++ b/packages/@mapomodule/uikit/components/Form/fields/TimeField.vue @@ -31,6 +31,7 @@ v-bind="$attrs" /> + {{ $t('mapo.ok') }}