标签: javascript date internet-explorer internet-explorer-11
当我尝试使用new Date("Dec/30/2016")时,它会返回Fri Dec 30 2016 00:00:00 GMT+0800 (PHT)但是当我在IE11上执行此操作时,它会返回Fri Dec 30 -2016 00:00:00 GMT+0800 (PHT)
new Date("Dec/30/2016")
Fri Dec 30 2016 00:00:00 GMT+0800 (PHT)
Fri Dec 30 -2016 00:00:00 GMT+0800 (PHT)
有没有办法像polyfill / shiv那样修补它以使其按预期工作?
https://jsfiddle.net/hx038a03/5/