Interactive interface for browsing global, full-resolution satellite imagery
WV-3210 Distraction Free Timezone Fix (#5320)
christof-wittreich919ffa04f734
diff --git a/web/js/components/timeline/kiosk-timestamp.js b/web/js/components/timeline/kiosk-timestamp.jsindex 460e110ec..2ec49ba04 100644--- a/web/js/components/timeline/kiosk-timestamp.js+++ b/web/js/components/timeline/kiosk-timestamp.js@@ -36,6 +36,7 @@ function KioskTimeStamp({ date, subdaily, isKioskModeActive }) {const kioskMonth = dateParts.find((part) => part.type === 'month').value.slice(0, 3);const kioskDay = dateParts.find((part) => part.type === 'day').value;const kioskHour = dateParts.find((part) => part.type === 'hour').value;+ const kioskTimeZoneLabel = isDaylightSavingsTime ? 'EDT' : 'EST';const dfYear = date.getUTCFullYear();const dfMonth = MONTH_STRING_ARRAY[date.getUTCMonth()];@@ -48,7 +49,7 @@ function KioskTimeStamp({ date, subdaily, isKioskModeActive }) {const hour = updateKioskModeTime ? kioskHour : dfHour;const minutes = dateParts.find((part) => part.type === 'minute').value;- const timeZoneLabel = isDaylightSavingsTime ? 'EDT' : 'EST';+ const timeZoneLabel = updateKioskModeTime ? kioskTimeZoneLabel : 'UTC';return (<>