diff options
author | Linus Groh <mail@linusgroh.de> | 2021-08-18 19:26:08 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-18 19:26:08 +0100 |
commit | b2badd633350f62214509cdad7ce22c089bfe69d (patch) | |
tree | f30db054e65c90b0b7a0604d52349d65229f957a /Userland/Libraries/LibJS | |
parent | 1b093c8b4804b9292986c8779f9fa2c8993a8cda (diff) | |
download | serenity-b2badd633350f62214509cdad7ce22c089bfe69d.zip |
LibJS: Update some Temporal spec section numbers
These shifted due to the addition of the ParseTemporalRelativeToString
AO in https://github.com/tc39/proposal-temporal/commit/ad06578.
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp index 10bb59548e..93e6fb4f1f 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp @@ -540,7 +540,7 @@ Optional<TemporalDuration> parse_temporal_duration_string(GlobalObject& global_o TODO(); } -// 13.43 ParseTemporalTimeZoneString ( isoString ), https://tc39.es/proposal-temporal/#sec-temporal-parsetemporaltimezonestring +// 13.44 ParseTemporalTimeZoneString ( isoString ), https://tc39.es/proposal-temporal/#sec-temporal-parsetemporaltimezonestring Optional<TemporalTimeZone> parse_temporal_time_zone_string(GlobalObject& global_object, [[maybe_unused]] String const& iso_string) { auto& vm = global_object.vm(); @@ -633,7 +633,7 @@ Optional<TemporalTimeZone> parse_temporal_time_zone_string(GlobalObject& global_ return TemporalTimeZone { .z = false, .offset = offset, .name = name }; } -// 13.45 ToPositiveIntegerOrInfinity ( argument ), https://tc39.es/proposal-temporal/#sec-temporal-topositiveintegerorinfinity +// 13.46 ToPositiveIntegerOrInfinity ( argument ), https://tc39.es/proposal-temporal/#sec-temporal-topositiveintegerorinfinity double to_positive_integer_or_infinity(GlobalObject& global_object, Value argument) { auto& vm = global_object.vm(); @@ -661,7 +661,7 @@ double to_positive_integer_or_infinity(GlobalObject& global_object, Value argume return integer; } -// 13.47 PrepareTemporalFields ( fields, fieldNames, requiredFields ), https://tc39.es/proposal-temporal/#sec-temporal-preparetemporalfields +// 13.48 PrepareTemporalFields ( fields, fieldNames, requiredFields ), https://tc39.es/proposal-temporal/#sec-temporal-preparetemporalfields Object* prepare_temporal_fields(GlobalObject& global_object, Object& fields, Vector<String> const& field_names, Vector<StringView> const& required_fields) { auto& vm = global_object.vm(); |