Sign in
webkit
/
WebKit
/
e767106e7a06fdacec6838307e9a44bbff73461a
/
.
/
JSTests
/
stress
/
date-relaxed-separator.js
blob: e19aaadb23c1d3c74378d20fef20c40399701125 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
shouldBe
(
new
Date
(
"2022-01-01 00:00:00Z"
).
getTime
(),
1640995200000
);
shouldBe
(
new
Date
(
"2022-01-01t00:00:00Z"
).
getTime
(),
1640995200000
);