我按照标题使用countdown timer,但是,我希望“Days”只显示“d”。目前我显示04w 1day 02h 46m
,但希望它显示04w 01d 02h 46m
。可以这样做吗?谢谢!
当前代码:
var tDay = new Date(2014,10 - 1,20);
$('#countdown').countdown({padZeroes: true, until: tDay,
labels:["y","m","w","d","h","m","s"],
format:'WDHM',
timezone:+10
});