We are seeing a crash on iOS where ios seems to se...
# kotlinx-datetime
p
We are seeing a crash on iOS where ios seems to send and old timezone,
US/Pacific
kotlin.RuntimeException: Unable to acquire the offset at instant 2021-01-20T15:59:38.842138051Z for zone US/Pacific
I don't fully understand what's happening here. Our ios dev says this is related to this issue: https://stackoverflow.com/questions/19819268/convert-ios-localtimezone-to-a-knowntimezone The ios stacktraces aren't present for release frameworks but I think it boils down to this line of code:
Copy code
Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault())