Repository navigation
Fix serialization of times with offset - #1384
Open
robsdedude wants to merge 2 commits into
Open
robsdedude wants to merge 2 commits into
robsdedude wants to merge 2 commits into
Conversation
robsdedude
force-pushed
the
fix-offset-time-serialization
branch
3 times, most recently
from
December 3, 2026 15:58
52dcb50 to
1ab3295
Compare
Closed
robsdedude
force-pushed
the
fix-offset-time-serialization
branch
from
December 4, 2026 09:00
256d5ef to
dcb165f
Compare
robsdedude
marked this pull request as ready for review
December 4, 2026 11:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix serialization of
neo4j.time.Timeanddatetime.timeobjects with attached timezones, both via Bolt and HTTP Query API.Via Bolt
Fixed Offset
pytz'stzinfoimplementationstzinfoimplementationsNon-Fixed Offset
pytz'stzinfoimplementations, but didn't round-trip properly, as Neo4j only handles time with no time zone of fixed offset time zones.pytztime zones will now emit a warning; a future major version of the driver will turn the warning into an error.tzinfoimplementations will be rejected with a clear error message.HTTP Query API (still in preview)
Fixed Offset
worked fine before (still dose 😉)
Non-Fixed Offset
Fixes #1380
Fixes: DRIVERS-721
Special thanks to @ChayaNine for the initial investigation in #1381