New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opera >= 10.53 `getUTC*` Method Bugs #4

Closed
kitcambridge opened this Issue Apr 12, 2012 · 0 comments

Comments

1 participant
@kitcambridge
Member

kitcambridge commented Apr 12, 2012

@Yaffle first noted in es-shims/es5-shim#111 that Date#getUTCMonth is buggy for certain date values (in this case, -3509827334573292) in Opera 11.62 and 12. Researching the matter further, I discovered that getUTC{FullYear, Month, Date, Hours} are also buggy, producing incorrect and/or nonsensical results (please see the aforementioned issue for the results and discussion).

The following test is expected to fail in Opera 10.53 and higher (the failure is not consistent, however, as different results are produced across versions). It should pass in 9.64 and earlier:

this.serializes('"-109252-01-01T10:37:06.708Z"', new Date(-3509827334573292));

I have pinged Mike Taylor on Twitter regarding the regression. Pending further investigation, this issue is on hold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment