Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Wrong description for getTimeout #59

Closed
PaulFreund opened this Issue · 1 comment

2 participants

@PaulFreund

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 referenced this issue from a commit
@ncb000gt Fix documentation. 99a8a6c
@ncb000gt
Owner

Whoops. Thanks for catching this.

@ncb000gt ncb000gt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.