case 4371
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<v-text-field
|
||||
dense
|
||||
prepend-icon="$ayiCalendarAlt"
|
||||
:value="dateValue"
|
||||
:value="readonlyFormat()"
|
||||
:label="label"
|
||||
:rules="rules"
|
||||
readonly
|
||||
|
||||
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user