摘要: Date.prototype.pattern=function(fmt) { var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 "h+" : this.getHours()%12 == 0 ? 12 : this. 阅读全文
posted @ 2018-07-27 15:19 备备 阅读(191) 评论(0) 推荐(0) 编辑