-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
time zone conversions fail #4
Comments
Most of the conversion / time zone errors have been fixed in my latest commit. Still remaining are the round-trip errors, and I'm not sure exactly yet what my approach to ambiguous instantiation or non-existent times will be. Addressed a few of the consistency issues in your gist as well.
Thanks for the detailed assessment and test code, it was and continues to be extremely helpful. |
I've updated the gist to mark (remove) fixed items. Current results:
The current failures might be due to the bug in dateutils see https://gist.github.com/3838828 |
It works only with the latest timezone for the region. DST transitions, other timezone changes are not handled correctly. Examples:
** convert utc datetime -> named timezone
Examples are from http://pytz.sourceforge.net/
The code to produce the above output https://gist.github.com/4127162
Note: not all of it probably should be fixed but it is useful to be aware that the issues exist.
The text was updated successfully, but these errors were encountered: