Is there a serializer which can take an epoch offs...
# kotlinx-datetime
k
Is there a serializer which can take an epoch offset and construct an Instant? I’m not seeing one. Should be pretty trivial to write myself, but I just wanted to make sure.
c
Are you looking for a way to construct an Instant from epochMillis?
k
Epoch seconds actually. Constructing it is easy, but I was looking for an out of the box serializer. I just wrote my own instead.
👍🏽 1