[Issue #2] - Added config.py toggle for observing daylight savings time
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2026-09-07 22:27:24 -04:00
parent 8467a3cc50
commit 7c73e7cf97
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -91,6 +91,9 @@ def is_dst(year, month, day, hour_utc, weekday):
- Ends: 1st Sunday in November at 02:00 local (06:00 UTC for UTC-4)
Note: weekday is 0=Monday ... 6=Sunday.
"""
if not Config.DST_OBSERVED:
return False
# 1. Months completely inside or outside DST
if month < 3 or month > 11:
return False