摘要: 需要对date原型进行扩展Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes(), //minute "s+" ... 阅读全文
posted @ 2010-07-09 10:34 zmxmiss 阅读(10894) 评论(0) 推荐(0) 编辑