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

Adding locale.duration #304

Closed
gfwilliams opened this issue Apr 15, 2020 · 2 comments · Fixed by #1850
Closed

Adding locale.duration #304

gfwilliams opened this issue Apr 15, 2020 · 2 comments · Fixed by #1850

Comments

@gfwilliams
Copy link
Member

We have stuff for absolute time, distance, temperature, but I think it also makes sense to have a nicely formatted duration. For example in the stopwatch, or other apps...

  • <2 minutes => 23 sec
  • <60 minutes => 1 min 23
  • 1 hr 23

something like that?

@MaBecker
Copy link
Contributor

maybe also have

  • > 24 h => 1 d 2 hr 23

@srl295
Copy link

srl295 commented Dec 14, 2020

It would be best to make this a polyfill of the actual ecma402 functions, tc39/ecma402#47

Actually, I'll make an issue about that general topic and see what I can do.

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

Successfully merging a pull request may close this issue.

3 participants