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:
parent
f97c9a5968
commit
ad294ff2ee
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue