jQuery Countdown time – show timer with two digits

If you are using countdown jquery from “http://keith-wood.name/countdown.html” then please open “jquery.countdown.js” and replace below code:

line no: 520 – 528

Original Code

var showFull = function(period) {
var labelsNum = inst.options[‘labels’ + whichLabels(inst._periods[period])];
return ((!inst.options.significant && show[period]) ||
(inst.options.significant && showSignificant[period]) ?
‘<span class=”‘ + plugin._sectionClass + ‘”>’ +
‘<span class=”‘ + plugin._amountClass + ‘”>’ +
self._translateDigits(inst, inst._periods[period]) + ‘</span><br/>’ +
(labelsNum ? labelsNum[period] : labels[period]) + ‘</span>’ : ”);
};

New Code

var showFull = function(period) {
var labelsNum = inst.options[‘labels’ + whichLabels(inst._periods[period])];

return ((!inst.options.significant && show[period]) ||
(inst.options.significant && showSignificant[period]) ?
‘<span class=”‘ + plugin._sectionClass + ‘”>’ +
‘<span class=”‘ + plugin._amountClass + ‘”>’ + ((self._translateDigits(inst, inst._periods[period]) <= 9 )?’0’+self._translateDigits(inst, inst._periods[period]):self._translateDigits(inst, inst._periods[period])) + ‘</span><br/>’ +
(labelsNum ? labelsNum[period] : labels[period]) + ‘</span>’ : ”);
};