Use timezone-aware datetime.now(UTC) in TransactionFreezeTask.weekly_loop
#38
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
tasks/transaction_freeze.py:300— Usesdatetime.now()(timezone-naive, local server time) for freeze/thaw timing. If server timezone differs from league's expected timezone, freezes fire at wrong time. Rest of file usesdatetime.now(UTC). Same issue inmodels/custom_command.py:102,models/help_command.py:121,126,services/draft_service.py,services/custom_commands_service.py.File Locations
tasks/transaction_freeze.py:300models/custom_command.py:102models/help_command.py:121models/help_command.py:126services/draft_service.pyservices/custom_commands_service.pyLabels
bug
Priority
medium