Allow to map Kotlin Datetime type to custom datetime type in js
Legion2 opened this issue · 0 comments
Legion2 commented
In JS there are many different builtin and libraries for representing and processing datetimes. In Kotlin the go to way is to use the official kotlinx-datetime library.
To keep the toolkit agnostic we can not enforce a single mapping and need to make it configurable. At first we will provide two mappings:
- to String, just map all datetime types to their string representation in js
- to js Date