Closed EvanHahn closed 4 years ago
Currently, the units option defaults to including months and years.
units
This line:
https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L1003
Should be changed to ["w", "d", "h", "m", "s"].
["w", "d", "h", "m", "s"]
This pull request should be made against the v4.0.0 branch, which you can see in #176.
v4.0.0
Closed in 1389b4a9f513c113225760489195677104a7eea8.
Currently, the
units
option defaults to including months and years.This line:
https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L1003
Should be changed to
["w", "d", "h", "m", "s"]
.This pull request should be made against the
v4.0.0
branch, which you can see in #176.