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

Fix issue with minute overwriting month in convert_timestamp, python >= 3.12 #2890

Merged
merged 1 commit into from
May 10, 2024

Conversation

lanceris
Copy link
Contributor

In convert_timestamp() variables for month and minute were the same (m), which led to incorrect timestamp parsing.

This PR fixes it by renaming variables to month and minute respectively, as well as renaming other one-lettered variables in this function to make them more obvious.

@coleifer
Copy link
Owner

Oh man that's awful, thank you!

@coleifer coleifer merged commit ec236ac into coleifer:master May 10, 2024
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.

2 participants