mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibJS: Change variable name of parsed time zone offset
This is an editorial change in the Temporal proposal. See: https://github.com/tc39/proposal-temporal/commit/30d17d3
This commit is contained in:
parent
99073c0561
commit
b9ac4557d6
Notes:
github-actions[bot]
2024-12-11 16:45:02 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b9ac4557d69 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2877
1 changed files with 2 additions and 2 deletions
|
@ -458,8 +458,8 @@ TimeZone parse_time_zone_identifier(ParseResult const& parse_result)
|
|||
// a. Assert: parseResult contains a UTCOffset[~SubMinutePrecision] Parse Node.
|
||||
VERIFY(parse_result.time_zone_offset.has_value());
|
||||
|
||||
// b. Let offsetString be the source text matched by the UTCOffset[~SubMinutePrecision] Parse Node contained within parseResult.
|
||||
// c. Let offsetNanoseconds be ! ParseDateTimeUTCOffset(offsetString).
|
||||
// b. Let offset be the source text matched by the UTCOffset[~SubMinutePrecision] Parse Node contained within parseResult.
|
||||
// c. Let offsetNanoseconds be ! ParseDateTimeUTCOffset(CodePointsToString(offset)).
|
||||
auto offset_nanoseconds = parse_date_time_utc_offset(parse_result.time_zone_offset->source_text);
|
||||
|
||||
// d. Let offsetMinutes be offsetNanoseconds / (60 × 10**9).
|
||||
|
|
Loading…
Add table
Reference in a new issue