Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Go to file
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
.gitea/workflows Fix act_runner auth: short-form local actions + full GitHub URLs 2026-02-18 13:32:15 -06:00
.scripts feat: add local deploy script for production deploys 2026-02-19 21:45:56 -06:00
.vscode VS Code Settings 2025-11-06 21:50:47 -06:00
api fix: address 7 security issues across the codebase 2026-02-20 09:54:53 -06:00
commands fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00
models fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
services fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00
tasks fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00
tests fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00
utils fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00
views fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
.dockerignore Add debug directory to .gitignore and .dockerignore 2025-10-24 00:06:34 -05:00
.gitignore Draft pick service and draft helpers 2025-10-24 10:24:14 -05:00
bot.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
CLAUDE.md docs: add release workflow section to CLAUDE.md 2026-02-22 15:59:07 -06:00
COMMAND_LIST.md CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
config.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
docker-compose.dev.yml CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
docker-compose.yml Fix @requires_team decorator API error handling 2025-11-14 09:31:14 -06:00
DOCKER.md CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
Dockerfile CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
exceptions.py CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
pyrightconfig.json CLAUDE: Convert constants to configurable environment variables 2025-10-16 10:40:22 -05:00
requirements.txt CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
VERSION Bump version to 2.29.9 2026-02-15 22:58:55 -06:00