-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Wrong DST for dates after year 2038 #31
Comments
pytz only understands the 'old' IANA timezone database binary format and has a Y2038 bug. Work on fixing this should probably go into Python core, adding a tzfile implementation that supports the modern format. |
I also have this issue. |
For anyone finding this thread later: this has been done. The |
Any recent progress towards supporting the newer format or working with the zoneinfo module? |
Same issue here. |
When I create UTC date after 2038 year and then change the timezone to eg. 'Europe/Warsaw' the DST is wrong.
For example, in june Warsaw is in GMT+2 time zone so when I set UTC time to 10:00 the time in Warsaw should be 12:00.
Code to reproduce bug:
Date before 2038, gives 12:00. everything OK:
Date after 2038, should be 12:00, but gives 11:00:
The text was updated successfully, but these errors were encountered: