Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EndTime option parser is wrong #29

Open
james4388 opened this issue Nov 17, 2014 · 1 comment
Open

EndTime option parser is wrong #29

james4388 opened this issue Nov 17, 2014 · 1 comment

Comments

@james4388
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants