Skip to content
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

Default Column[LocalDateTime] instance lose nanoseconds precision #525

Open
oyvindberg opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@oyvindberg
Copy link

I'll submit this in the same tradition as #408 and #325 .

I updated the repro from #408 to LocalDateTime to show the same problem again.

https://github.com/oyvindberg/play-anorm-nano-precision

[info] - should insert a LocalDateTime WITHOUT nano precision and return the inserted value
[info] - should insert a LocalDateTime instant WITH nano precision and return the inserted value *** FAILED ***
[info]   2021-01-06T09:22:31.222 was not equal to 2021-01-06T09:22:31.222456 (ZonedDateTimeRepositoryTest.scala:62)
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

No branches or pull requests

1 participant