js 日期在IE和google浏览器上的兼容性问题
// google new Date("2015-10-29") Thu Oct 29 2015 08:00:00 GMT+0800 (中国标准时间)
new Date("2015/10-29") Thu Oct 29 2015 00:00:00 GMT+0800 (中国标准时间) new Date("2015/10/29") Thu Oct 29 2015 00:00:00 GMT+0800 (中国标准时间)
// IE11 new Date("2015-10-29") [date] NaN
new Date("2015/10-29") [date] Thu Oct 29 00:00:00 UTC+0800 2015 new Date("2015/10/29") [date] Thu Oct 29 00:00:00 UTC+0800 2015
// IE7 Date.parse("2015-10-14") NaN Date.parse("2015/10-14") 1444752000000 Date.parse("2015/10/14") 1444752000000 // IE11 Date.parse("2015-10-14") 1444780800000 Date.parse("2015/10-14") 1444752000000 Date.parse("2015/10/14") 1444752000000 // google Date.parse("2015-10-14") 1444780800000 Date.parse("2015/10-14") 1444752000000 Date.parse("2015/10/14") 1444752000000