We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python Version: 3.6.3 Arrow Version: 0.12.0
When I do the following:
import arrow t = arrow.get(0) t.to('local')
It will throw an OSError: [Errno 22] Invalid argument exception
OSError: [Errno 22] Invalid argument
However if specific a timezone string other than local, it works. (Example below)
import arrow t = arrow.get(0) t.to('US/Pacific')
The text was updated successfully, but these errors were encountered:
@JordanKnott I don't see this error in Python 3.6.3 when building arrow off of master.
Python 3.6.7 (default, Oct 25 2018, 09:16:13) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import arrow >>> t = arrow.get(0) >>> t.to('local') <Arrow [1970-01-01T00:00:00+00:00]> >>> t.to('US/Pacific') <Arrow [1969-12-31T16:00:00-08:00]>
Sorry, something went wrong.
No branches or pull requests
Python Version: 3.6.3
Arrow Version: 0.12.0
When I do the following:
It will throw an
OSError: [Errno 22] Invalid argument
exceptionHowever if specific a timezone string other than local, it works. (Example below)
The text was updated successfully, but these errors were encountered: