kriskowal/es5-shim — pull request #130 by javadoug (2012-10-10 15:59:29+00:00)
Title: fixed Date.parse fails on IE8

Hi Kris,

I cannot write a regression test for this error. Inside of the parse method, the tz offset variable is init to NaN. Changing the method to create a new date using the NativeDate constructor makes the parse test pass. I added a test for Number(new Date()) for good measure. I also added tests for toString and valueOf as I thought that might also be related to this parse error in IE8.

I test in Win7IE8/FF13/Chrome22 and MacOSXSafari5.

Doug