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

Is it a bug in python standard lib or pytz after EST => EDT changed today? #8

Open
61t opened this issue Mar 11, 2018 · 0 comments
Open

Comments

@61t
Copy link

61t commented Mar 11, 2018

One test failed after EST => EDT changed today

See below to reproduce the issue with Python 3.6.4 and pytz (2018.3):

now = datetime.datetime.now()
print(now.replace(tzinfo=pytz.timezone('America/New_York')))
print(now.astimezone(tz=pytz.timezone('America/New_York')))

2018-03-11 18:45:59.437443-04:56 <<== what is this -04:56 ?
2018-03-11 18:45:59.437443-04:00

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

No branches or pull requests

1 participant