mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +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:
parent
31283b5e64
commit
0e3def1d0b
Notes:
sideshowbarker
2024-07-17 20:26:37 +09:00
Author: https://github.com/linusg
Commit: 0e3def1d0b
Pull-request: https://github.com/SerenityOS/serenity/pull/12079
Reviewed-by: https://github.com/IdanHo ✅
Reviewed-by: https://github.com/alimpfard
3 changed files with 29 additions and 70 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue