Skip to content

Fix DateTime with ZoneId for years between 00-99 #992

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

Merged
merged 4 commits into from
Sep 9, 2022

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