mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
LibJS: Implement parsing of TemporalDateString
This commit is contained in:
parent
3f1af7c05f
commit
02e7de2cba
8 changed files with 27 additions and 13 deletions
|
@ -50,8 +50,7 @@ describe("correct behavior", () => {
|
|||
checkExpectedResults(withPlainDateZonedDateTime);
|
||||
});
|
||||
|
||||
// FIXME: Enable when time string parsing is implemented.
|
||||
test.skip("from plain date string", () => {
|
||||
test("from plain date string", () => {
|
||||
const plainDateTime = new Temporal.PlainDateTime(2021, 11, 4, 21, 16, 56, 100, 200, 300);
|
||||
const timeZone = new Temporal.TimeZone("UTC");
|
||||
const zonedDateTime = plainDateTime.toZonedDateTime(timeZone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue