major-domo-v2/tasks
Cal Corum 8a1a957c2a
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m16s
fix: use explicit America/Chicago timezone for freeze/thaw scheduling
The production container has ambiguous timezone config — /etc/localtime
points to Etc/UTC but date reports CST. The transaction freeze/thaw task
used datetime.now() (naive, relying on OS timezone), causing scheduling
to fire at unpredictable wall-clock times.

- Add utils/timezone.py with centralized Chicago timezone helpers
- Fix tasks/transaction_freeze.py to use now_chicago() for scheduling
- Fix utils/logging.py timestamp to use proper UTC-aware datetime
- Add 14 timezone utility tests
- Update freeze task tests to mock now_chicago instead of datetime

Closes #43

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 16:00:22 -06:00
..
CLAUDE.md Add Google Sheets integration for draft pick tracking 2025-12-11 11:18:27 -06:00
custom_command_cleanup.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
draft_monitor.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
live_scorebug_tracker.py fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00
TRANSACTION_EXECUTION_AUTOMATION.md CLAUDE: Automate player roster updates in transaction freeze/thaw system 2025-10-27 14:25:00 -05:00
transaction_freeze.py fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00