More formatting fixes
All checks were successful
Compile / Compile (push) Successful in 1m19s

This commit is contained in:
Lewis Jackson 2023-06-01 03:39:27 +03:00
parent f87d626925
commit 52478ec602

View file

@ -25,10 +25,13 @@ void WatchFacePages::Clock::DrawPage(bool partialRefresh)
m_display.fillScreen(GxEPD_WHITE);
DrawBatteryIcon();
// 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) {