Reflejo / jquery-countdown

Amazing jQuery Countdown plugin!, Check it out.
464 stars 211 forks source link

EndTime option parser is wrong #29

Open james4388 opened 10 years ago

james4388 commented 10 years ago

When user use endtime option with date larger than 1 month, your count down showing wrong count. For example now is Nov 11 2014, set and countdown with this option $("#cd").countdown({ format: "dd:hh:mm:ss", endTime: new Date('12/20/2014 07:00:00') }); will return count with 01 day, instead of 32 day

melbusbee commented 10 years ago

I made this fix and put in a pull request, but until it's ready: https://github.com/melbusbee/jquery-countdown.