Testi timezonen huomiointi

This commit is contained in:
2026-01-22 09:19:02 +00:00
parent db7b34f249
commit c53dad7f31

View File

@@ -50,7 +50,7 @@ class AlarmClock:
def loop(self):
currentButtonState = not self.buttonGpio.read()
currentTime = time()
currentTime = datetime.now(city.tzinfo)
if (self.configMode == "normal"):
currentMinute = int((currentTime / 60) % 60)