Skip to content

Conversation

bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Sep 8, 2022

The error was happening because Date.UTC factory doesn't treats dates between 00-99 as 1900-1999.

Removing the usage of this factory makes the code slighty faster while resolves the issue.

The error was happening because Date.UTC factory doesn't treats dates between 00-99 as 1900-1999.

Removing the usage of this factory makes the code slighty faster while resolves the issue.
@robsdedude robsdedude self-requested a review September 9, 2022 08:40
Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

🎩

bigmontz added a commit that referenced this pull request Sep 9, 2022
The error was happening because Date.UTC factory doesn't treats dates between 00-99 as 1900-1999.

Removing the usage of this factory makes the code slightly faster while resolves the issue.
@bigmontz bigmontz merged commit f67e4f4 into neo4j:5.0 Sep 9, 2022
@bigmontz bigmontz deleted the 5.0-fix-dates-between-00-99 branch September 9, 2022 16:36
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