Skip to content

Omit zero nanoseconds in toString() for temporal types #361

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 1 commit into from
Apr 26, 2018

Conversation

lutovich
Copy link
Contributor

This changes implementations of toString() function for Duration, Time, LocalTime, LocalDateTime and DateTime. Returned strings still remain valid ISO strings and represent same temporal values.

@lutovich lutovich requested a review from ali-ince April 26, 2018 13:47
This changes implementations of `toString()` function for `Duration`,
`Time`, `LocalTime`, `LocalDateTime` and `DateTime`. Returned strings
still remain valid ISO strings and represent same temporal values.
@lutovich lutovich merged commit 3f97f84 into neo4j:1.6 Apr 26, 2018
@lutovich lutovich deleted the 1.6-ns-toString branch April 26, 2018 14:32
@oskarhane
Copy link
Member

Thank you for this!

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.

3 participants