agenda / human-interval

Human readable time distances for javascript
Other
461 stars 14 forks source link

What about compact strings like '10s' ? #6

Open thomas-riccardi opened 9 years ago

thomas-riccardi commented 9 years ago

For config files it could be useful to have support for inputs like '10s' (for '10 seconds').

Currently it returns a TypeError: Cannot read property '1' of null.