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

Cookbook: mentions of Intl.DurationFormat #3067

Open
o-t-w opened this issue Dec 28, 2024 · 0 comments
Open

Cookbook: mentions of Intl.DurationFormat #3067

o-t-w opened this issue Dec 28, 2024 · 0 comments

Comments

@o-t-w
Copy link

o-t-w commented Dec 28, 2024

There are two mentions of Intl. DurationFormat in the Cookbook that can perhaps be updated?

"If you have Intl.DurationFormat, then you can do this with until.toLocaleString() and untilMonths.toLocaleString(). This example will be updated when that becomes possible."

"Note that this does not work unless you have Intl.DurationFormat, which is still an early-stage proposal."

Intl.DurationFormat is stage 4. It is implemented in Safari, Chrome/Edge and Firefox Nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant