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