Closed saeta-eth closed 5 years ago
This looks like a bug. To fix this in the short term, add a decimal
option:
const shortEnglishHumanizer = humanizeDuration.humanizer({
language: 'shortEn',
languages: {
shortEn: {
// ...
decimal: '.'
},
},
});
I'll plan to fix this soon.
This has been fixed in humanize-duration@3.20.1
. Thanks for reporting!
Hi.
I just followed the example provided on the docs to add a new language.
After that, I have received:
1 m, 11undefined75 s
from71750
milliseconds.Thanks for this awesome library.