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

proposal: implement Intl.DurationFormat #21450

Closed
iuioiua opened this issue Dec 3, 2023 · 4 comments
Closed

proposal: implement Intl.DurationFormat #21450

iuioiua opened this issue Dec 3, 2023 · 4 comments
Labels
feat new feature (which has been agreed to/accepted)

Comments

@iuioiua
Copy link
Contributor

iuioiua commented Dec 3, 2023

It's currently at stage 3.

Spec: https://github.com/tc39/proposal-intl-duration-format
Related: denoland/std#3672

@lucacasonato lucacasonato added feat new feature (which has been agreed to/accepted) and removed enhancement labels Sep 20, 2024
@timreichen
Copy link
Contributor

What is the current stand on this? Is this going to be implemented?
related: denoland/std#6304

@lionel-rowe
Copy link
Contributor

Seems like it's implemented already, presumably in V8 as Chrome/Edge/etc also have it.

image

@iuioiua
Copy link
Contributor Author

iuioiua commented Jan 6, 2025

Thanks!

@iuioiua iuioiua closed this as completed Jan 6, 2025
@timreichen
Copy link
Contributor

Seems like Intl.DurationFormat types are not working properly. The code works but throws a typescript error:

Property 'DurationFormat' does not exist on type 'typeof Intl'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted)
Projects
None yet
Development

No branches or pull requests

5 participants