EvanHahn / HumanizeDuration.js

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

Feature: Duration in the past #167

Closed sweitzel closed 4 years ago

sweitzel commented 4 years ago

If I have negative seconds, Humanize could automatically convert it to a Human duration in the past:

humanize(-60) = 1 minute ago

This is the only reason why i currently cannot use Humanize and have to use momentjs :-(

EvanHahn commented 4 years ago

This library is actively maintained but no new features will be added, so I'm not going to do this, unfortunately.

However, if a fork of the library adds this, I'm happy to link to it from the readme.