EvanHahn / HumanizeDuration.js

361000 becomes "6 minutes, 1 second"
https://evanhahn.github.io/HumanizeDuration.js/
The Unlicense
1.65k stars 175 forks source link

Update README.md #148

Closed menreiki closed 5 years ago

menreiki commented 5 years ago

typo in example

EvanHahn commented 5 years ago

Thanks—I'll take a look at this soon.

EvanHahn commented 5 years ago

I'm not seeing this behavior in version 3.16.0:

const humanizeDuration = require('humanize-duration')
humanizeDuration(22140000, { conjunction: ' and ' })
// => '6 hours and 9 minutes'

Am I missing something or are you on an older version?

EvanHahn commented 5 years ago

@delikatessa Any updates here?

EvanHahn commented 5 years ago

Closing this because I haven't heard back in several months. Feel free to comment and I can reopen.