:mega: kotlinx-datetime 0.6.2 is here, and with it...
# kotlinx-datetime
d
📣 kotlinx-datetime 0.6.2 is here, and with it, Wasm/WASI support, along with some small tweaks and fixes! Full changelog: https://github.com/Kotlin/kotlinx-datetime/releases/tag/v0.6.2
🎉 11
b
Do we still need to do the jodatime hack as described in the library README as of 0.6.2 ? https://github.com/Kotlin/kotlinx-datetime/pull/366 makes mention of having a hardcoded timezone database...
or I guess can wasmJs applications use the same dependency as wasmWasi for handling timezones instead of jodatime
Copy code
implementation("kotlinx-datetime-zoneinfo", "2025a-spi.0.6.2")
jodatime introduces some problems when trying to call kotlin code from javascript
d
Unfortunately, you do have to use the Jodatime integration (it's not a "hack") to obtain timezone information.