mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 06:55:06 +02:00
This commit is contained in:
parent
9df276c969
commit
1ba74c5d0d
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
var date = new Date(1999, 09, 10, 10, 10, 10, 10);
|
var date = new Date(1999, 9, 10, 10, 10, 10, 10);
|
||||||
var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
||||||
|
|
||||||
return localDate.toISOString() === "1999-10-10T10:10:10.010Z";
|
return localDate.toISOString() === "1999-10-10T10:10:10.010Z";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user