Closed jvorcak closed 5 years ago
@EvanHahn you're of course right, I'll add tests asap, I just wanted to have it confirmed that it can be added.
Regarding the other problem, that is a good catch thank you :) I propose to keep maxDecimalPoints
name and change the implementation.
parseFloat((ms / unitMS).toFixed(options.maxDecimalPoints))
That sounds good to me!
Lemme know if you want me to double-check any of your test cases before you start on the implementation.
@EvanHahn I've added some tests and changed an implementation a bit.
@jvorcak Any updates here?
@EvanHahn sorry, but I'm just currently very busy these days. I have it on my TODO list, I'll get back to this asap (hopefully during this/next week)
No worries! Thanks for the update.
Any updates here? No worries if not, just checking in.
@jvorcak Any updates? No rush.
@EvanHahn totally forgot about this. This week I have some more time, so I'll have a look hopefully til 20th.
@EvanHahn sorry for a delay. Hopefully, it's fine now.
Thanks--I will take a look at this soon.
@EvanHahn thanks, and thanks for a review!
This has been deployed in humanize-duration@3.18.0
. Thanks for your contribution!
Thanks—I'll discuss this with you in #139.