Skip to content

Conversation

sdispater
Copy link
Collaborator

As reported in #417, now() could return the wrong result on DST transitions.

now() used instance() but it's actually not necessary and we can return DateTime instance directly which fixes the issue.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
sdispater Sébastien Eustace

Verified

This commit was signed with the committer’s verified signature.
sdispater Sébastien Eustace
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.

None yet

1 participant