1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:08:10 +00:00

LibJS: Update spec comment in balance_duration_relative()

This is an editorial change in the Temporal spec.

See: 665871e
This commit is contained in:
Linus Groh 2021-12-09 23:18:01 +00:00
parent 82efbfcf3d
commit bdb8fc54f2

View file

@ -748,8 +748,7 @@ ThrowCompletionOr<RelativeBalancedDuration> balance_duration_relative(GlobalObje
one_year_days = move_result.days;
}
// e. Let moveResult be ? MoveRelativeDate(calendar, relativeTo, oneMonth).
// FIXME: This should be "Set moveResult to" (spec issue)
// e. Set moveResult to ? MoveRelativeDate(calendar, relativeTo, oneMonth).
move_result = TRY(move_relative_date(global_object, calendar, *relative_to, *one_month));
// f. Set relativeTo to moveResult.[[RelativeTo]].