mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibJS: Reject relativeTo string such as "2022-08-18T17:01Z"
This is a normative change in the Temporal spec.
See: 2dc20bf
This commit is contained in:
parent
57162ad510
commit
4567ded8e4
5 changed files with 22 additions and 2 deletions
|
@ -830,6 +830,7 @@ bool ISO8601Parser::parse_time_zone_bracketed_annotation()
|
|||
return false;
|
||||
if (!m_state.lexer.consume_specific(']'))
|
||||
return false;
|
||||
m_state.parse_result.time_zone_bracketed_annotation = transaction.parsed_string_view();
|
||||
transaction.commit();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue