This commit is contained in:
2020-02-05 23:06:27 +00:00
parent 93246e4251
commit fa56b99f6f
5 changed files with 41 additions and 6 deletions

View File

@@ -17,7 +17,9 @@
</template>
<v-date-picker :locale="defaultLocale" v-model="dateOnly">
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">Close</v-btn>
<v-btn text color="primary" @click="dlgdate = false">{{
lt("OK")
}}</v-btn>
</v-date-picker>
</v-dialog>
</v-col>
@@ -67,6 +69,11 @@ export default {
required: false
}
},
methods: {
lt(ltKey) {
return window.$gz.locale.get(ltKey);
}
},
watch: {
date() {
//this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load