Fork me on GitHub
摘要: function add_zero(time){ var temp = time.split("-"); if(temp[1].length==1)temp[1] = "0"+temp[1]; if(temp[2].length==1)temp[2] = "0"+temp[2]; return temp[0]+"-"+temp[1... 阅读全文
posted @ 2018-07-09 14:53 森海轮回 阅读(90) 评论(0) 推荐(0) 编辑