mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:47:44 +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
|
@ -3,8 +3,7 @@ describe("correct behavior", () => {
|
|||
expect(Temporal.Instant.prototype.toZonedDateTimeISO).toHaveLength(1);
|
||||
});
|
||||
|
||||
// TODO: Un-skip when ParseTemporalTimeZoneString is fully implemented
|
||||
test.skip("basic functionality", () => {
|
||||
test("basic functionality", () => {
|
||||
const instant = new Temporal.Instant(1625614921123456789n);
|
||||
const zonedDateTime = instant.toZonedDateTimeISO("UTC");
|
||||
expect(zonedDateTime.year).toBe(2021);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue