-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add timezone back in. #61
Conversation
Awesome! Can you also bump the clocks package version to |
Sounds good. |
2651591
to
1aa3300
Compare
Updating to wit-abi-up-to-date@v19 in .github/workflows/main.yml should update CI to the latest wit-bindgen. |
I've filed cdmurph32#1 to add |
Thanks @yoshuawuyts . I've merged that. |
@cdmurph32 oh heh, one more thing: there is still a merge conflict on this PR. Could you please rebase it on the main branch? I'm hoping that's the last bit left to get this to a state where it can be merged. |
Do we need to update wit-bindgen?
|
Oh right, yeah — |
wasm-tools and wit-bindgen are released, and I've now bumped their versions in wit-abi-up-to-date v20. So now, it should be sufficient to just bump the wit-abi-up-to-date version to v20 in .github/workflows/main.yml. |
Looks like the version of wit-bindgen-cli in the test needs to be updated. |
I've filed #67 to update CI, which brings in WebAssembly/wit-abi-up-to-date#26 which was published as part of WebAssembly/wit-abi-up-to-date@v20. I think if we merge that, and then re-run CI here, we should be good. |
#67 is now merged, so now this should just need a rebase. |
CI won't pass until we can pass features to wit-abi-up-to-date.
I'm thinking the github action would need something like this:
And wit-abi-up-to-date would need to add |
With wit-abi-up-to-date v21, it should be possible to pass features to the script. |
Update README with markdown generation step.
Co-authored-by: Yosh <[email protected]>
7507e2b
to
4a308da
Compare
Ok, we've now got everything sorted out here. Thanks for all your patience here! |
Thank you @sunfishcode and @yoshuawuyts ! |
Hi - I'm one of the champions of the ECMAScript Temporal proposal that will add a richer and timezone-aware set of date/time types to JS engines. @littledan suggested that I take a look at the WASI timezone proposal. I had a few questions:
|
@justingrant I was intending to use the iana-time-zone crate for the wasmtime implementation. Do you have any concerns with that crate? |
@cdmurph32 - I think you'll want @sffc to weigh in here. He's both a Rust expert and a localization guru, and both may be involved in your question above. Also, is the reason you're not using ICU4X (the Rust implementation of ICU4C/ICU4J) that WASI is intentionally minimal in size and you don't need the full capabilities of ICU? I assume that ICU4X does everything that iana-time-zone does, and much more. @sffc is one of the folks driving ICU4X. Also, is the system time zone the only time zone that WASI is worried about? There's no need to be able to calculate the offset for a different time zone? Finally, where are you getting your IANA Time Zone Database data from in order to calculate the offset for the zone at that instant? |
Thanks for the feedback @justingrant! - I think it's clear we have room to improve, and we should figure out what the right steps forward are. To that effect I've filed #69 to continue our conversation about how we can fix the issues in the current design. Let me know if anything is missing there! |
Update README with markdown generation step.