summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-12-09 23:18:01 +0000
committerLinus Groh <mail@linusgroh.de>2021-12-09 23:18:01 +0000
commitbdb8fc54f271fdc051e3fb8f9c0aa4acf5c8bd1e (patch)
tree11e01b0583fe6c8e249509dbc0e6b52ae56325c3 /Userland/Libraries
parent82efbfcf3d80a9f529b5ddcd17b166b4699c44df (diff)
downloadserenity-bdb8fc54f271fdc051e3fb8f9c0aa4acf5c8bd1e.zip
LibJS: Update spec comment in balance_duration_relative()
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/665871e
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp
index e140c9831d..002deae7b7 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp
@@ -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]].