mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-12-14 15:56:17 +00:00
* Currently prediction hours are relative from current hour and don't adjust on daylight saving change. * ist_dst_wechsel now unused.
This commit is contained in:
committed by
GitHub
parent
69212c3cff
commit
b3914ab16b
@@ -2,6 +2,7 @@ import datetime
|
||||
import zoneinfo
|
||||
|
||||
|
||||
# currently unused
|
||||
def ist_dst_wechsel(tag: datetime.datetime, timezone="Europe/Berlin") -> bool:
|
||||
"""Checks if Daylight Saving Time (DST) starts or ends on a given day."""
|
||||
tz = zoneinfo.ZoneInfo(timezone)
|
||||
|
||||
Reference in New Issue
Block a user