1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

LibJS: Refactor return value of RoundDuration

This is an editorial change in the Temporal spec.

See:
- 3641adf
- 8ea590c
This commit is contained in:
Linus Groh 2022-03-09 23:20:36 +01:00
parent bdb13a74b0
commit 97bd4cebab
8 changed files with 56 additions and 70 deletions

View file

@ -104,16 +104,7 @@ struct MoveRelativeDateResult {
// Used by RoundDuration to temporarily hold values
struct RoundedDuration {
double years;
double months;
double weeks;
double days;
double hours;
double minutes;
double seconds;
double milliseconds;
double microseconds;
double nanoseconds;
DurationRecord duration_record;
double remainder;
};