Skip to content

[4.4] Fix bugs in neo4j.time.DateTime handling - #1101

Merged
robsdedude merged 1 commit into
neo4j:4.4from
robsdedude:fix-datetime-handling-4.4
Oct 4, 2024
Merged

robsdedude merged 1 commit into
neo4j:4.4from
robsdedude:fix-datetime-handling-4.4

Conversation

@robsdedude

Copy link
Copy Markdown
Member
  • Fix DateTime +/- Duration computation being wildly off by considering the days of the DateTime since UNIX epoch twice.
  • Fix DateTime.__ne__ (inequality operator) incorrectly comparing against non-DateTime-like types.

Backport of

 * Fix `DateTime` +/- `Duration` computation being wildly off by considering
   the days of the `DateTime` since UNIX epoch twice.
 * Fix `DateTime.__ne__` (inequality operator) incorrectly comparing against
   non-DateTime-like types.

@MaxAake MaxAake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robsdedude
robsdedude merged commit 3d81299 into neo4j:4.4 Oct 4, 2024
@robsdedude
robsdedude deleted the fix-datetime-handling-4.4 branch October 4, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants