case 4371

This commit is contained in:
2023-01-04 19:09:16 +00:00
parent 9c6d301fb0
commit 2357e7ba07
2 changed files with 10 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<v-text-field
dense
prepend-icon="$ayiCalendarAlt"
:value="dateValue"
:value="readonlyFormat()"
:label="label"
:rules="rules"
readonly

View File

@@ -10,7 +10,7 @@
<v-text-field
dense
prepend-icon="$ayiCalendarAlt"
:value="dateValue"
:value="readonlyDateFormat()"
:label="label"
:rules="rules"
readonly
@@ -211,6 +211,14 @@ export default {
this.hour12
);
},
readonlyDateFormat() {
return window.$gz.locale.utcDateToShortDateLocalized(
this.value,
this.timeZoneName,
this.languageName,
this.hour12
);
},
updateTimeValue(v) {
this.updateValue(this.dateValue, v);
},