Skip to content

fixes #132 by allowing to pass dates as string instead of instant for…#135

Open
mauravan wants to merge 419 commits intoapi-bricks:masterfrom
mauravan:bugfix/132-time-start-param-java-9
Open

fixes #132 by allowing to pass dates as string instead of instant for…#135
mauravan wants to merge 419 commits intoapi-bricks:masterfrom
mauravan:bugfix/132-time-start-param-java-9

Conversation

@mauravan
Copy link

@mauravan mauravan commented May 6, 2022

… the java sdk because instant.now() might have higher precision the 7 on jdk > 8

@Svisstack
Copy link
Contributor

there is no way to force object to produce string with correct number of digits in the precision?

@mauravan
Copy link
Author

mauravan commented May 7, 2022

there is, but it's not very flexible - since there are a lot of possible formats: https://docs.coinapi.io/#time i would leave this to the user - especially to reduce errors like this one, where a change in the JDK changes the behaviour of the application

@Svisstack Svisstack force-pushed the master branch 2 times, most recently from 819b4fc to ded59d3 Compare March 30, 2024 13:34
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.