padolsey / cron.js

Cron for JavaScript. Still in development.
123 stars 22 forks source link

Dont work in December !!!! ???? #2

Closed marcoas closed 13 years ago

marcoas commented 13 years ago

In my tests don't work only for December.

I change this line this.constraints = [[0,59],[0,59],[0,23],[1,31],[0,11],[1,7]];

for thi one this.constraints = [[0,59],[0,59],[0,23],[1,31],[1,12],[1,7]];

and work now !

It's correct ? or maybe there are more changes to do ?

padolsey commented 13 years ago

Thanks for reporting this! https://github.com/jamespadolsey/cron.js/commit/f6a41b99b4b7f10da89ca8c0ea6081b531fec101