Wrong description for getTimeout #59

Closed
PaulFreund opened this Issue Apr 20, 2013 · 1 comment

Comments

Projects
None yet
2 participants

Hi, thank you for this great library!

I had trouble finding out how long it will take until the next run, so I dug through the code and the description for getTimeout of CronTime unfortunately misguided me.

/**
    * Get the number of seconds in the future at which to fire our callbacks.
*/

This is wrong as it actually are milliseconds(from Date.getTime). Would be nice if you could fix this, or would you rather see a pull request?

@ncb000gt ncb000gt added a commit that referenced this issue Apr 22, 2013

@ncb000gt ncb000gt Fix documentation. 99a8a6c
Collaborator

ncb000gt commented Apr 22, 2013

Whoops. Thanks for catching this.

ncb000gt closed this Apr 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment