From 52478ec6021543595ce7645e237aa95ecd87d854 Mon Sep 17 00:00:00 2001 From: Lewis Jackson <> Date: Thu, 1 Jun 2023 03:39:27 +0300 Subject: [PATCH] More formatting fixes --- src/WatchFacePages/Clock.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/WatchFacePages/Clock.cpp b/src/WatchFacePages/Clock.cpp index 602fec5..0788335 100644 --- a/src/WatchFacePages/Clock.cpp +++ b/src/WatchFacePages/Clock.cpp @@ -25,10 +25,13 @@ void WatchFacePages::Clock::DrawPage(bool partialRefresh) m_display.fillScreen(GxEPD_WHITE); DrawBatteryIcon(); - tmElements_t currentTime; - m_features.rtc.Get(currentTime); + // Get current time and offset by timezone + tmElements_t currentTime; + m_features.rtc.Get(currentTime); int tzOffset = m_features.storage.GetTzOffset(); m_features.rtc.OffsetTime(currentTime, tzOffset); + + SevenSegment sevenSegment(30, 60, 6, 5, 5); if (currentTime.Hour < 10) {