This commit is contained in:
2020-11-30 20:29:22 +00:00
parent 222ca6d103
commit 169b6c54a6
5 changed files with 52 additions and 27 deletions

View File

@@ -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);
},

View File

@@ -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"