https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Mod

03/04/2023, 12:03 PM
hello, I have a kmm project and there is an api that return datetime as string in iso format ex: "2019-11-07T084615-0500" and I'm using ktor client + kotlinx serialization + kotlinx DateTime but it will throw
java.time.format.DateTimeParseException: Text '2019-11-07T08:46:15-0500' could not be parsed, unparsed text found at index 19
any idea what causing the issue
j

Johann Pardanaud

03/04/2023, 12:33 PM
8 Views