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

Feature Parity is missing durations #89

Open
FoxxMD opened this issue Feb 25, 2020 · 3 comments
Open

Feature Parity is missing durations #89

FoxxMD opened this issue Feb 25, 2020 · 3 comments

Comments

@FoxxMD
Copy link

FoxxMD commented Feb 25, 2020

Durations are a standardized format and should be included.

@Goostavo
Copy link

Goostavo commented Mar 1, 2020

Durations have three main function:

  • type used to describe a duration to be summed without a date
  • parser (example, parse HH:MM:DD)
  • Display (ex. human readable display such as 32m 12s)

Alternatives to all:

I needed the parser, i've used this solution: Stackoverflow solution

About the display solution: humanize-duration on npm

@stevemao
Copy link
Member

stevemao commented Mar 1, 2020

@FoxxMD @Goostavo please send a PR

@Bonnev
Copy link

Bonnev commented Jun 4, 2024

dayjs seems to support durations now. @FoxxMD FYI

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

No branches or pull requests

4 participants