you-dont-need / You-Dont-Need-Momentjs

List of functions which you can use to replace moment.js + ESLint Plugin
MIT License
13.26k stars 317 forks source link

Feature Parity is missing durations #89

Open FoxxMD opened 4 years ago

FoxxMD commented 4 years ago

Durations are a standardized format and should be included.

Goostavo commented 4 years ago

Durations have three main function:

Alternatives to all:

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

About the display solution: humanize-duration on npm

stevemao commented 4 years ago

@FoxxMD @Goostavo please send a PR

Bonnev commented 3 months ago

dayjs seems to support durations now. @FoxxMD FYI