JS Date格式化为yyyy-MM-dd类字符串
Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" ...
Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" ...