case 4395
This commit is contained in:
@@ -113,9 +113,15 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setToday() {
|
setToday() {
|
||||||
const v = window.$gz.locale
|
//Was this but in afternoon shows the next day ?!?
|
||||||
.nowUTC8601String(this.timeZoneName)
|
// const v = window.$gz.locale
|
||||||
|
// .nowUTC8601String(this.timeZoneName)
|
||||||
|
// .split("T")[0];
|
||||||
|
|
||||||
|
const v = window.$gz.DateTime.local()
|
||||||
|
.toString()
|
||||||
.split("T")[0];
|
.split("T")[0];
|
||||||
|
|
||||||
this.updateDateValue(v);
|
this.updateDateValue(v);
|
||||||
this.dlgdate = false;
|
this.dlgdate = false;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setNow() {
|
setNow() {
|
||||||
|
//was this but works the more simpler way copied from set today
|
||||||
// const v = window.$gz.locale
|
// const v = window.$gz.locale
|
||||||
// .nowUTC8601String(this.timeZoneName)
|
// .nowUTC8601String(this.timeZoneName)
|
||||||
// .split("T")[1];
|
// .split("T")[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user