mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-12-14 15:56:17 +00:00
Ruff format
This commit is contained in:
@@ -10,9 +10,7 @@ def ist_dst_wechsel(tag: datetime.datetime, timezone="Europe/Berlin") -> bool:
|
||||
next_day = current_day + datetime.timedelta(days=1)
|
||||
|
||||
# Check if the UTC offsets are different (indicating a DST change)
|
||||
dst_change = (
|
||||
current_day.replace(tzinfo=tz).dst() != next_day.replace(tzinfo=tz).dst()
|
||||
)
|
||||
dst_change = current_day.replace(tzinfo=tz).dst() != next_day.replace(tzinfo=tz).dst()
|
||||
|
||||
return dst_change
|
||||
|
||||
|
||||
Reference in New Issue
Block a user