You-Dont-Need-Momentjs icon indicating copy to clipboard operation
You-Dont-Need-Momentjs copied to clipboard

Feature Parity is missing durations

Open FoxxMD opened this issue 4 years ago • 3 comments

Durations are a standardized format and should be included.

FoxxMD avatar Feb 25 '20 21:02 FoxxMD

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

Goostavo avatar Mar 01 '20 23:03 Goostavo

@FoxxMD @Goostavo please send a PR

stevemao avatar Mar 01 '20 23:03 stevemao