This commit is contained in:
2021-02-05 20:16:05 +00:00
parent 76d82ee9c4
commit fb779c39ef
4 changed files with 24 additions and 17 deletions

View File

@@ -165,7 +165,6 @@ export default {
},
updateValue(theDate, theTime) {
let vm = this;
if (!theDate) {
let v = new Date();
let fullYear = v.getFullYear();

View File

@@ -95,7 +95,9 @@ export default {
},
methods: {
setNow() {
let v = window.$gz.locale.nowUTC8601String().split("T")[1];
let v = window.$gz.locale
.nowUTC8601String(this.timeZoneName)
.split("T")[1];
this.updateTimeValue(v);
this.dlgtime = false;
},