We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de6ba9 commit 4c4e638Copy full SHA for 4c4e638
core/commonKotlin/src/Instant.kt
@@ -286,7 +286,7 @@ internal fun parseIso(isoString: String): Instant {
286
parseFailure("Expected at most 10 digits for the year number, got ${i - yearStart} digits")
287
}
288
i == yearStart + 10 && s[yearStart] >= '2' -> {
289
- parseFailure("Expected at most 9 digits for the year number or year 1000000000, got ${i - yearStart}")
+ parseFailure("Expected at most 9 digits for the year number or year 1000000000, got ${i - yearStart} digits")
290
291
i - yearStart < 4 -> {
292
parseFailure("The year number must be padded to 4 digits, got ${i - yearStart} digits")
0 commit comments