For example,
$('#countdown_1').countdown({
format : "ddd:hh:mm:ss",
image: 'libs/jquery-countdown/img/digits.png',
startTime: "279:12:15:03"
});
it would display "279:12:14:99" after "279:12:15:00",
And I fixed it like this:
in file jquery.countdown.js line #46.
switch (options.format[i]) {
case 'h':
digits[c].__max = (':' == options.format[i-1]) ? 2: 9;
if (':' == options.format[i-1] == 0)
digits[c].__condmax = 4;
break;
case 'd':
digits[c].__max = 9;
break;
case 'm':
case 's':
digits[c].__max = (':' == options.format[i-1]) ? 5: 9;
}
Original issue reported on code.google.com by michael.the.ranidae on 25 Nov 2013 at 3:47
Original issue reported on code.google.com by
michael.the.ranidae
on 25 Nov 2013 at 3:47