Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Fix timezone parsing functions for non-hour timezones#1547
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The `utctz_to_altz` and `altz_to_utctz_str` functions fail to handletimezones with UTC offsets that are not a multiple of onehour. Rewrite them and add some unit tests.Fixesgitpython-developers#630
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks a million, this is long overdue!
By the way, I can imagine a round-trip test that runs from |
The
utctz_to_altz
andaltz_to_utctz_str
functions fail to handle timezones with UTC offsets that are not a multiple of one hour. Rewrite them and add some unit tests.Fixes#630