diff options
Diffstat (limited to 'test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js')
-rw-r--r-- | test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js index f27f7e0ae..d2f2e391e 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js @@ -9,7 +9,7 @@ description: > 'YYYY-MM-DDTHH:mm:ss.sssZ', the time zone is UTC(0) ---*/ - var date = new Date(1999, 9, 10, 10, 10, 10, 10); - var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000); +var date = new Date(1999, 9, 10, 10, 10, 10, 10); +var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000); assert.sameValue(localDate.toISOString(), "1999-10-10T10:10:10.010Z", 'localDate.toISOString()'); |