Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose the standard timezone database provider for JS and Wasm #324

Open
dkhalanskyjb opened this issue Dec 1, 2023 · 2 comments
Open
Labels
breaking change This could break existing code timezone The model and API of timezones
Milestone

Comments

@dkhalanskyjb
Copy link
Contributor

There's a pure Kotlin implementation of the datetime library for Kotlin/Native. This code can be used directly to implement the JS and Wasm targets—except for timezone database access.

Related: #178
Previous discussion: #245

@vdshb
Copy link

vdshb commented Mar 12, 2024

It might be valuable to add to the list an option to use c/c++ timezone databases for wasm target. E.g. the one which is used for Kotlin/Native.

@dkhalanskyjb
Copy link
Contributor Author

@vdshb, please explain what you mean. In Kotlin/Native for Darwin and Linux, we used to use a C++ library that queried /usr/share/zoneinfo for us; now, even this code is in pure Kotlin. As I understand it, Wasm doesn't have access to /usr/share/zoneinfo.

@dkhalanskyjb dkhalanskyjb added this to the 0.7.0 milestone Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This could break existing code timezone The model and API of timezones
Projects
None yet
Development

No branches or pull requests

2 participants