fix daylight_saving_time

This commit is contained in:
Fusselkater 2022-08-11 00:09:50 +02:00
parent 1fa59a0ca5
commit 96b94af981
1 changed files with 1 additions and 1 deletions

View File

@ -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