Sign in
webkit
/
WebKit
/
f6a2db0b6ffa1cbc502926e8c3265b2be2346307
/
.
/
JSTests
/
complex
/
timezone-offset-apia.js
blob: f059aa54f7f9222e1ff1fff07104f2d9f6fb6014 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
shouldBe
(
new
Date
(
"2019-05-01"
).
getTimezoneOffset
()
/
-
60
,
13
);
shouldBe
(
new
Date
(
"2019-11-01"
).
getTimezoneOffset
()
/
-
60
,
14
);