From 88578b689d9306b1d08a946b8c2776430ee3493e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 24 Jan 2023 23:35:41 +0000 Subject: [PATCH] case 4395 --- ayanova/src/components/date-control.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/date-control.vue b/ayanova/src/components/date-control.vue index a2117175..d350bae8 100644 --- a/ayanova/src/components/date-control.vue +++ b/ayanova/src/components/date-control.vue @@ -113,9 +113,15 @@ export default { }, methods: { setToday() { - const v = window.$gz.locale - .nowUTC8601String(this.timeZoneName) + //Was this but in afternoon shows the next day ?!? + // const v = window.$gz.locale + // .nowUTC8601String(this.timeZoneName) + // .split("T")[0]; + + const v = window.$gz.DateTime.local() + .toString() .split("T")[0]; + this.updateDateValue(v); this.dlgdate = false; },