-
Notifications
You must be signed in to change notification settings - Fork 71
Parse error on old UTCTimes #123
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
Comments
It's possible that this is a timezone-specific issue. For the record, my system is set to Asia/Jerusalem. |
To demonstrate this a little more easily, here's some example output from the psql program:
|
I am aware of this issue, it is timezone specific. See issues #69 and #122. It appears as though these timestamps are almost invariably tied to when a locality moved from a local time standard (usually based on astronomical noon of a large nearby city) to some larger and more encompassing time standard. It isn't the easiest issue to fix in the context of the A simple workaround for |
Fixing the parser to handle that isn't too difficult. I've sent a pull request with that tweak, that also modifies the time for the number of seconds in the timezone, since |
Ok, I finally did fix this. |
Looks good! |
Regarding
I'm not sure exactly what is going on here, but somehow the
But of course the |
Example program:
The result is:
Looking into this more closely, it appears that- for some older dates- PostgreSQL returns a funky timezone along the lines of
+02:03:04
.The text was updated successfully, but these errors were encountered: