-
Notifications
You must be signed in to change notification settings - Fork 103
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
NSDate.toKotlinInstant off by 1 millisecond #439
Comments
The last change to 50% is the number of fractional parts that will be rounded up, so the numbers check out. What did change was #427 is probably the issue you're interested in: we are considering being more lenient with rounding and only round to microseconds, or maybe not at all. |
Force millisecond timestamps for equality Kotlin/kotlinx-datetime#439
Force millisecond timestamps for equality Kotlin/kotlinx-datetime#439
NSDate.toKotlinInstant
adds one millisecond to the resultingInstant
. This was working in 0.5.0, but broken in 0.6.0-RC. The test does not always fail, but does about 50% of the time.The text was updated successfully, but these errors were encountered: