[feat] Change ms by better-ms #258
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Changing the ms library by this https://github.com/gae-labs/betterMsJs/ fixes some ms problems, like
- round
- lots of new ways to write times (
betterMs('2 days 6 hours 30 minutes 15 seconds')) - maybe the possibility of remove human-interval because it looks like it can do the same
I get to this because I try to parse milliseconds to human with ms https://github.com/vercel/ms?tab=readme-ov-file#convert-from-milliseconds and the human-interval date of 3 days and 4 hours (which human-interval correctly sets to 273600000 was rounded to 3 days)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Activity