Skip to content

Make sure datetime is a datetime#1498

Open
justmobilize wants to merge 1 commit into
mvantellingen:mainfrom
justmobilize:fix-standard-time-library-datetime-bug
Open

Make sure datetime is a datetime#1498
justmobilize wants to merge 1 commit into
mvantellingen:mainfrom
justmobilize:fix-standard-time-library-datetime-bug

Conversation

@justmobilize

@justmobilize justmobilize commented Jul 13, 2026

Copy link
Copy Markdown

In #1443, all the special case code for pytz was removed since pytz isn't used anymore. Unfortunately it removed a case in builtins.DateTime where it would add in the time values if they were missing.

This causes issues if a user passes in a date to a datetime field as it get's sent up as an iso format date, not datetime and the receiving server may reject it.

This is a critical bug, and blocking updating to 4.3.3 with the security fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant