1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibJS: Don't parse/re-format offset in parse_temporal_time_zone_string()

This is an editorial change in the Temporal spec.

See: 6abe146
This commit is contained in:
Linus Groh 2022-01-22 21:52:55 +00:00
parent 31283b5e64
commit 0e3def1d0b
3 changed files with 29 additions and 70 deletions

View file

@ -725,6 +725,7 @@ bool ISO8601Parser::parse_time_zone_numeric_utc_offset()
if (parse_time_zone_utc_offset_second())
(void)parse_time_zone_utc_offset_fraction();
}
m_state.parse_result.time_zone_numeric_utc_offset = transaction.parsed_string_view();
transaction.commit();
return true;
}