March 10 2026: changed overnight shift timeframe

This commit is contained in:
2026-03-10 17:02:01 -04:00
parent c4c563f7c0
commit 3d2ecd1644
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -484,8 +484,8 @@ class WorkingHoursCalculator:
# check-out record to Day N so the pair resolves correctly.
# Hours are attributed to the earlier day (Day N).
# ---------------------------------------------------------------
OVERNIGHT_CHECKIN_HOUR = 18 # Check-in must be at or after 6 PM
OVERNIGHT_CHECKOUT_HOUR = 6 # Check-out must be at or before 6 AM
OVERNIGHT_CHECKIN_HOUR = 20 # Check-in must be at or after 8 PM
OVERNIGHT_CHECKOUT_HOUR = 3 # Check-out must be at or before 3 AM
for work_type in ['regular', 'SP', 'PW', 'PT']:
all_dates = sorted(daily_records_by_type[work_type].keys())