From 5b1e115d46e7a241a6f25937cca79b32a5dae9ae Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 16 Sep 2021 19:01:01 +0000 Subject: [PATCH] --- ayanova/src/api/locale.js | 12 +----------- ayanova/src/views/home-schedule.vue | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 53c6d536..04774508 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -75,17 +75,7 @@ export default { getHour12() { return window.$gz.store.state.userOptions.hour12; }, - ////////////////////////////////////////////////// - // Get the user's chosen / auto time zone offset - // - getTZOffset(timeZoneName) { - if (!timeZoneName) { - timeZoneName = this.getResolvedTimeZoneName(); - } - let dtNow = window.$gz.DateTime.local(); - var rezoned = dtNow.setZone(timeZoneName); - return rezoned.offset; - }, + // /////////////////////////////////////////// // // Convert timestamp utc epoch value // // to local timestamp epoch value diff --git a/ayanova/src/views/home-schedule.vue b/ayanova/src/views/home-schedule.vue index 8f2f4cd8..7bb97a05 100644 --- a/ayanova/src/views/home-schedule.vue +++ b/ayanova/src/views/home-schedule.vue @@ -69,6 +69,10 @@ @click:date="viewDay" @change="fetchEvents" > +