From 96b94af981f4e990f960b47bdc0e51af0d852730 Mon Sep 17 00:00:00 2001 From: Fusselkater Date: Thu, 11 Aug 2022 00:09:50 +0200 Subject: [PATCH] fix daylight_saving_time --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8c2c663..00e7def 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ def check_daylight_saving(current_time): summer_time = t break - for day in range(24, 32): + for day in range(25, 32): t = time.mktime((current_time[0], 10, day, 2, 0, 0, 0, 0)) if time.localtime(t)[6] == 6: winter_time = t