mirror of https://github.com/tc39/test262.git
Removes special handling for UTC timezon in toISOString/15.9.5.43-0-13.js
This commit is contained in:
parent
007d3b1eb7
commit
6376e4d833
|
@ -13,11 +13,6 @@ description: >
|
||||||
var date, dateStr;
|
var date, dateStr;
|
||||||
|
|
||||||
assert.throws(RangeError, function() {
|
assert.throws(RangeError, function() {
|
||||||
if (timeZoneMinutes > 0) {
|
|
||||||
date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes + 60, 0, 1);
|
date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes + 60, 0, 1);
|
||||||
dateStr = date.toISOString();
|
dateStr = date.toISOString();
|
||||||
} else {
|
|
||||||
date = new Date(1970, 0, 100000001, 0, 0, 0, 1);
|
|
||||||
dateStr = date.toISOString();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue