-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot pickle datetime object with timezone #12
Comments
Hey @jappievw, thanks for the bug report. I can reproduce this behaviour. Unfortunately, I also lack the skills to know how to resolve this. The problem exists in the underlying library I copied the timezone code from. I've raised an issue with them, so hopefully I can learn some more. |
Thanks for your update @movermeyer. I will subscribe to that issue as well! |
I've gone and learned how pickling/copying works. This problem should be fixed. |
That’s very good news. Will try tomorrow!
|
Implemented it, thanks for your effort @movermeyer!! |
Thanks for providing this awesome backport! Today I ran into the issue that a datetime object can't be pickled when it includes a timezone. Please find the example below:
Unfortunately, I lack the skills to create a PR to resolve this.
The text was updated successfully, but these errors were encountered: