coinapi-sdk icon indicating copy to clipboard operation
coinapi-sdk copied to clipboard

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

Open mauravan opened this issue 2 years ago • 2 comments

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

mauravan avatar May 06 '22 19:05 mauravan

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

Svisstack avatar May 07 '22 00:05 Svisstack

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

mauravan avatar May 07 '22 07:05 mauravan