标签:
var dateStr = "2016-01-19 00:00:00"; var d = new Date(dateStr.replace(/-/g, ‘/‘));
or
参考:http://stackoverflow.com/questions/13363673/javascript-date-is-invalid-on-ios
【备忘录】javascript Date在ios上显示NAN
标签:
原文地址:http://www.cnblogs.com/xiaoroad/p/5141640.html