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:
parent
bdb13a74b0
commit
97bd4cebab
8 changed files with 56 additions and 70 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue