1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

LibJS: Implement parsing of TemporalDateTimeString

This commit is contained in:
Linus Groh 2021-11-19 18:21:33 +00:00
parent 02e7de2cba
commit b42b7d5f16
5 changed files with 23 additions and 7 deletions

View file

@ -98,7 +98,7 @@ describe("correct behavior", () => {
);
});
// FIXME: Enable when time string parsing is implemented.
// FIXME: This currently yields an incorrect result (epochNanoseconds = 1635984000000000000)
test.skip("from plain time string", () => {
const plainDateTime = new Temporal.PlainDateTime(2021, 11, 4, 21, 16, 56, 100, 200, 300);
const timeZone = new Temporal.TimeZone("UTC");