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