diff options
author | Linus Groh <mail@linusgroh.de> | 2021-11-24 18:18:05 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-11-24 18:18:05 +0000 |
commit | ad294ff2ee4b923ae2f15cc7421b15969a39f10c (patch) | |
tree | 535024b23d487d278acce4ef1ef5aa71abfe43c9 /Userland/Libraries/LibJS/Runtime | |
parent | f97c9a5968f35f2e365c1878991299e001fe3166 (diff) | |
download | serenity-ad294ff2ee4b923ae2f15cc7421b15969a39f10c.zip |
LibJS: Simplify TemporalRelativeToString
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/d3b2e90
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp | 4 |
1 files changed, 1 insertions, 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(); } } |