1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Temporal
Shannon Booth c063bf39a9 LibJS: Make ToRelativeTemporalObject return a RelativeTo struct
This follows a change in the spec which refactored this function and its
callers to make use of a record instead of stuffing all of the possible
return values into a single Value.

As always in temporal land, this AO remains out of date, as well of all
its callers. Update all of these callers to the new API where possible,
and use an ad-hoc function to convert this struct back to a JS::Value
for APIs that have not been updated yet.
2024-02-25 07:51:28 -05:00
..
Calendar LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
Duration LibJS: Make ToRelativeTemporalObject return a RelativeTo struct 2024-02-25 07:51:28 -05:00
Instant LibJS/Tests: Add a bunch of rounding mode tests 2024-02-06 08:45:34 +01:00
Now LibJS: Disable Temporal custom time zone test 2023-10-18 16:29:27 -04:00
PlainDate LibJS: Begin using CalendarMethodsRecord for AOs 2024-02-16 12:27:23 -05:00
PlainDateTime LibJS/Temporal: Perform floating point arithmetic in RoundTime 2023-07-01 06:51:25 +02:00
PlainMonthDay LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
PlainTime Everywhere: Change spelling of 'behaviour' to 'behavior' 2023-05-07 01:05:09 +02:00
PlainYearMonth LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
TimeZone LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
ZonedDateTime LibJS/Tests: Add a bunch of rounding mode tests 2024-02-06 08:45:34 +01:00
Temporal.@@toStringTag.js LibJS: Implement Temporal[@@toStringTag] 2021-07-27 18:48:22 +01:00