1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 18:28:10 +00:00

LibJS: Simplify TemporalRelativeToString

This is an editorial change in the Temporal spec.

See: d3b2e90
This commit is contained in:
Linus Groh 2021-11-24 18:18:05 +00:00
parent f97c9a5968
commit ad294ff2ee

View file

@ -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();
}
}