agenda / human-interval

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

(potential) bug with agenda.schedule #5

Closed davidgruebl closed 4 years ago

davidgruebl commented 9 years ago

when working with agenda I ran into the following issue:

// works perfectly fine
agneda.every('90 seconds')
agenda.every('1.5 minutes')
agenda.every('1 minute and 30 seconds')
// works perfectly fine
agenda.schedule('in 90 seconds')
// does not work
// no error is thrown, the time saved in the database is incorrect though
agenda.schedule('in 1.5 minutes')
agenda.schedule('in 1 minute and 30 seconds')

I am not sure whether this is an rather a missing feature than a bug, it's definitely not expected, unintuitive

thanks a lot @rschmukler for your work on agenda and human-interval - it is an pleasure to use!

simison commented 7 years ago

I know I'm commenting on old issue but this should be closed here and re-opened at Agenda repo.