According to <https://github.com/Kotlin/kotlinx.serialization/issues/1472> kotlin.time.Duration shou...
d
According to https://github.com/Kotlin/kotlinx.serialization/issues/1472 kotlin.time.Duration should be serializable as of 1.7.20, but I'm using 1.8.20 and I'm still getting an error. Am I doing something wrong?
Here's a screenshot showing the error:
And here's another screenshot showing that the Duration class I'm using in my project lives in Kotlin 1.8.20 (and it not annotated with serializable)
a
What version of kotlinx.datetime do you have ?
d
I'm not sure I follow, I'm not using kotlinx datetime explicitly
(Accidentally uploaded the same screenshot twice, whoops! Second time meant to include this)