-
Notifications
You must be signed in to change notification settings - Fork 506
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 ambiguous parse #517
Fix ambiguous parse #517
Conversation
Ping @JordonPhillips |
30edbb6
to
644a5fd
Compare
90f67c7
to
0d6160d
Compare
@jbrockmendel Any thoughts? |
Will look this over now; sorry it got lost in the inbox for a bit. |
Not all that familiar with the
LGTM. |
@jbrockmendel Not quite.
These two things are unambiguous representations (assuming you have the context to know that EST and EDT are both representations of the Eastern time zone) of the same naive datetime. With Python's time zone model, the tz offset is a function of the naive
In the old behavior, it used to be that we'd see At this point, no matter what happens, you're still getting |
Confirmed this works, thanks! |
Should fix #318 in favor of #319. I don't 100% love special-casing UTC like this, but I think that's the only exception here and anything else would lead to even weirder edge cases.