We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4b6bc commit 70469f0Copy full SHA for 70469f0
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