Sign in
webkit
/
WebKit
/
9a43d7e8bb9093ccc493831ef3377ee933abb11e
/
.
/
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
);