-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
.to() is incompatible with pytz.timezone #154
Comments
I guess it is related to:
|
Yes, agree, it looks like it is related to the usage of It's kind of annoying to be honest, and I don't really understand why |
Any update on this? |
My results are even better:
pytz = 2015.2 |
I'd welcome a PR to address this @dekoza @ograycode @Exirel |
Aside from the merge conflicts, #155 resolves this but adds a dependency on pytz. |
Thanks @andrewelkins's merging for #254. |
Merge on #254 also fixed issue here where offset of America/New_York was being represented as -0456 instead of -0400 after being converted from UTC. Tested on Python 3.4.3 and 3.5.0. I'd say the issue is fixed here at least. |
Closing this issue. I never used arrow because of it, and it's being reported as fixed. |
Still not added in documentation? Couldn't find any example. It would be great if someone add it in timezone specific section, as people google to find quick examples. |
It looks like at least
to()
is incompatible with pytz.timezone. This is especially concerning because pytz is so widely used, and integrated into Django. Because of this, arrow is incompatible with djanog.utils.timezone.get_default_timezoneIt is currently PDT time (offset of -7 from UTC).
This was discovered using pytz==2014.2 and arrow==0.4.4.
The text was updated successfully, but these errors were encountered: