You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
I'm getting a parsing issue from a raw string to a DateTime, hereafter my code and results. getBirthdayDate() is implemented in KMP but it is called from an android app.
com.soywiz.klock.DateException: Not a valid format: '1989-01-01T10:00:00.000Z' for 'yyyy-MM-dd'T'HH:mm:ssXXX'
at com.soywiz.klock.DateFormatKt.parse(DateFormat.kt:32)
at com.soywiz.klock.DateFormat$Companion.parse(DateFormat.kt:19)
at com.soywiz.klock.DateTime$Companion.fromString(DateTime.kt:182)
I tried to remove the timezone Zulu character but I still have the same error :
com.soywiz.klock.DateException: Not a valid format: '1989-01-01T10:00:00.000' for 'yyyy-MM-dd'T'HH:mm:ssXXX'
at com.soywiz.klock.DateFormatKt.parse(DateFormat.kt:32)
at com.soywiz.klock.DateFormat$Companion.parse(DateFormat.kt:19)
at com.soywiz.klock.DateTime$Companion.fromString(DateTime.kt:182)
If I remove the milliseconds, it works has expected. Is it by design ?
Version : 1.11.12
The text was updated successfully, but these errors were encountered:
I was expecting from a date-time library to be able to parse correctly at least an ISO 8601 format (with optional ms). Is it by design ?
IMO this format should be handled correctly by default.
Hi,
I'm getting a parsing issue from a raw string to a DateTime, hereafter my code and results.
getBirthdayDate() is implemented in KMP but it is called from an android app.
The KMP source code is very simple :
On android I get this error :
I tried to remove the timezone Zulu character but I still have the same error :
If I remove the milliseconds, it works has expected. Is it by design ?
Version : 1.11.12
The text was updated successfully, but these errors were encountered: