pfarmer/jquery-countdown — Issue #15: Calculate date wrong?
Author: streetrobban
Created: 2011-10-21 09:46:57+00:00
State: open

Hello,

I don't know if I missunderstand the Date Object?

If I set the date like this:

var _date = new Date();
_date.setMonth(10);
_date.setDate(28);
_date.setHours(18);
_date.setMinutes(00);
_date.setSeconds(00);
$('#counter11').countdown({
startTime: _date,
stepTime: 1,
digitImages: 6,
digitWidth: 53,
digitHeight: 77,
image: "img/digits.png"
});

It's in a week (today it's 2011-10-21 11:44). So I would expect the timer to start at 06:06:16:00 right? Right now it says 38:07:14:00. I don't get it?