From ad294ff2ee4b923ae2f15cc7421b15969a39f10c Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 24 Nov 2021 18:18:05 +0000 Subject: [PATCH] LibJS: Simplify TemporalRelativeToString This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/d3b2e90 --- Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp index eec40e1e3e..0b9fcd4a87 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp @@ -887,9 +887,7 @@ bool ISO8601Parser::parse_temporal_relative_to_string() { // TemporalRelativeToString : // TemporalDateTimeString - // TemporalZonedDateTimeString - return parse_temporal_date_time_string() - || parse_temporal_zoned_date_time_string(); + return parse_temporal_date_time_string(); } }