LibJS: Simplify TemporalRelativeToString
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/d3b2e90
This commit is contained in:
parent
f97c9a5968
commit
ad294ff2ee
Notes:
sideshowbarker
2024-07-18 00:43:03 +09:00
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
Reference in a new issue