摘要: date.js export function formatDate(date, fmt) { if (/(y+)/.test(fmt)) { fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 RegExp.$1.leng 阅读全文
posted @ 2017-06-01 18:07 wmui 阅读(15845) 评论(1) 推荐(1)