This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<template v-slot:activator="{ on }">
|
||||
<v-text-field
|
||||
v-on="on"
|
||||
:value="timeValue"
|
||||
:value="readonlyTimeFormat()"
|
||||
label
|
||||
prepend-icon="$ayiClock"
|
||||
@click:prepend="dlgtime = true"
|
||||
@@ -137,6 +137,14 @@ export default {
|
||||
this.hour12
|
||||
);
|
||||
},
|
||||
readonlyTimeFormat() {
|
||||
return window.$gz.locale.utcDateToShortTimeLocalized(
|
||||
this.value,
|
||||
this.timeZoneName,
|
||||
this.languageName,
|
||||
this.hour12
|
||||
);
|
||||
},
|
||||
updateTimeValue(v) {
|
||||
this.updateValue(this.dateValue, v);
|
||||
},
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<template v-slot:activator="{ on }">
|
||||
<v-text-field
|
||||
v-on="on"
|
||||
:value="timeValue"
|
||||
:value="readonlyFormat()"
|
||||
v-bind:label="label"
|
||||
prepend-icon="$ayiClock"
|
||||
@click:prepend="dlgtime = true"
|
||||
|
||||
Reference in New Issue
Block a user