Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct DST errors on Windows (3.x) #59219

Closed
wants to merge 4 commits into from
Closed

Correct DST errors on Windows (3.x) #59219

wants to merge 4 commits into from

Conversation

ztc0611
Copy link
Contributor

@ztc0611 ztc0611 commented Mar 17, 2022

The DST code on windows for both master and 3.x was set to always return false in OS.get_datetime(), and reported the incorrect DST bias. Fixes #59214 and Fixes #37571

The DST code on windows for both master and 3.x was set to always return false in OS.get_datetime(), and reported the incorrect DST bias.
@ztc0611 ztc0611 closed this Mar 17, 2022
@ztc0611 ztc0611 changed the title Fixes #59214 Windows does not report DST correctly in OS.get_datetime() Correct DST errors on Windows (3.x) Mar 17, 2022
@ztc0611 ztc0611 reopened this Mar 17, 2022
@ztc0611 ztc0611 marked this pull request as ready for review March 17, 2022 00:26
@ztc0611 ztc0611 requested a review from a team as a code owner March 17, 2022 00:26
@ztc0611
Copy link
Contributor Author

ztc0611 commented Mar 17, 2022

I'm sorry I missed the note about submitting 4.0/master branch code. I actually wrote it for master and was worried the opposite would be the problem. Should I close this PR and submit the 4.0 version instead?

@Calinou
Copy link
Member

Calinou commented Mar 17, 2022

Should I close this PR and submit the 4.0 version instead?

You can keep this PR open and open another PR against master 🙂

@Calinou Calinou added this to the 3.5 milestone Mar 17, 2022
@ztc0611
Copy link
Contributor Author

ztc0611 commented Mar 17, 2022

Looks like I left a formatting error. Hopefully that fixed it?

@akien-mga
Copy link
Member

I'll cherry-pick #59223 directly for 3.x and 3.4 to get the latest style and logic changes done there.

@akien-mga akien-mga closed this Mar 17, 2022
@ztc0611 ztc0611 deleted the 3.x branch March 17, 2022 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants