摘要: //时间戳转换成日期时间2014-8-8 下午11:40:20 function formatDate(ns){ return new Date(parseInt(ns) * 1000).toLocaleString().replace(/年|月/g, "-").replace(/日/g, " "); } //时间戳转换成八位日期2014-5-5 function userDate(... 阅读全文
posted @ 2017-06-28 16:24 ma_fighting 阅读(342) 评论(0) 推荐(0)
摘要: Unmatched ) in Javascript regular expression您的某些字符串包含错误')'。你需要逃避这个。这是这样做的功能: 阅读全文
posted @ 2017-06-28 15:52 ma_fighting 阅读(2145) 评论(0) 推荐(0)
历史天气查