标签:
$.fn.datebox.defaults.formatter = function (date) {
var y = date.getFullYear();
var m = date.getMonth() + 1;
var d = date.getDate();
return y + ‘/‘ + (m < 10 ? (‘0‘ + m) : m) + ‘/‘ + (d < 10 ? (‘0‘ + d) : d);
}
标签:
原文地址:http://www.cnblogs.com/wangpengchengwc/p/4597832.html