jquery-countdown icon indicating copy to clipboard operation
jquery-countdown copied to clipboard

EndTime option parser is wrong

Open james4388 opened this issue 11 years ago • 1 comments

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

james4388 avatar Nov 17 '14 10:11 james4388

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

melbusbee avatar Nov 20 '14 17:11 melbusbee