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

Weird Date Calc error #31

Open
xtrememenace opened this issue Aug 11, 2012 · 0 comments
Open

Weird Date Calc error #31

xtrememenace opened this issue Aug 11, 2012 · 0 comments

Comments

@xtrememenace
Copy link

Hello,

I'm getting a weird error, if I enter the date like this,

var _date = new Date();
_date.setMonth(9);
_date.setDate(20);
_date.setHours(02);
_date.setMinutes(00);
_date.setSeconds(00);
$('#counter').countdown({
startTime: _date,
image: "img/digits.png"
});
The output should be 69:21:15:45.... But I'm getting the output as 69:09:15:45.. It seems the Hours value is either not in a 24-hr format or is being wrongly calculated...
Could some1 help me on this??

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

1 participant