summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-04-18 12:26:17 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-04-20 12:01:58 +0000
commite505c11eebe5a389a7d47a4bf570c66469740b01 (patch)
tree3b3670bd3dff0e2ffa09bcfaf8130a8ea7ed302c
parent40b4f28e98c416a092e26aa17489bf94ccb8bf4f (diff)
Revert "Change number of days in test to make date actually out of range"HEADsnapshot-20150317-8f6a508-based
This reverts commit 40b4f28e98c416a092e26aa17489bf94ccb8bf4f. The test was correct, after all: the ES Date() range is 1e8 days, not 1<<53 ms. See https://github.com/tc39/ecma262/issues/1176 for the gory details. Change-Id: Iff84ed9519b86d24a4051e904140740de973969c Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js
index 6694e14db..b21867345 100644
--- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js
+++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js
@@ -14,9 +14,9 @@ function testcase() {
var date, dateStr;
try {
if (timeZoneMinutes > 0) {
- date = new Date(1970, 0, -999999999, 0, 0, 0, -1);
+ date = new Date(1970, 0, -99999999, 0, 0, 0, -1);
} else {
- date = new Date(1970, 0, -999999999, 0, 0 + timeZoneMinutes - 60, 0, -1);
+ date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes - 60, 0, -1);
}
dateStr = date.toISOString();