mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:07:34 +00:00
LibJS: Implement parsing of TemporalRelativeToString
This commit is contained in:
parent
98b876ad3f
commit
1583c7257c
12 changed files with 370 additions and 61 deletions
|
@ -58,8 +58,7 @@ describe("correct behavior", () => {
|
|||
expect(zonedDateTime.timeZone).toBe(timeZone);
|
||||
});
|
||||
|
||||
// TODO: Enable when parse_temporal_time_zone_string() is fully implemented
|
||||
test.skip("basic functionality - time zone identifier", () => {
|
||||
test("basic functionality - time zone identifier", () => {
|
||||
// 4. in the spec
|
||||
const plainDate = new Temporal.PlainDate(2021, 7, 6);
|
||||
const zonedDateTime = plainDate.toZonedDateTime("UTC");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue