Hey guys how do we use date formatting in wasm kmp...
# webassembly
m
Hey guys how do we use date formatting in wasm kmp I was trying to use kotlinx datetime but not getting answer how to use it .It works for Android,jvm .Any suggestions . And also any database library which will be compatible with all Android ,JVM and wasm for storing data locally.
c
Did you face the issue in library setup or on formatting part?
m
Formatting part
How do I format dates in wasm
c
Didn’t this guide worked? https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#using-unicode-format-strings-like-yyyy-mm-dd I guess we don’t have to do anything special for wasm(if anything in setup only).
m
The methods here are not available for wasm what I see ,not sure if I am making some mistake
m