mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibJS: Change variable name of parsed time zone offset
This is an editorial change in the Temporal proposal. See:
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: b9ac4557d6
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.
|
// a. Assert: parseResult contains a UTCOffset[~SubMinutePrecision] Parse Node.
|
||||||
VERIFY(parse_result.time_zone_offset.has_value());
|
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.
|
// b. Let offset be the source text matched by the UTCOffset[~SubMinutePrecision] Parse Node contained within parseResult.
|
||||||
// c. Let offsetNanoseconds be ! ParseDateTimeUTCOffset(offsetString).
|
// c. Let offsetNanoseconds be ! ParseDateTimeUTCOffset(CodePointsToString(offset)).
|
||||||
auto offset_nanoseconds = parse_date_time_utc_offset(parse_result.time_zone_offset->source_text);
|
auto offset_nanoseconds = parse_date_time_utc_offset(parse_result.time_zone_offset->source_text);
|
||||||
|
|
||||||
// d. Let offsetMinutes be offsetNanoseconds / (60 × 10**9).
|
// d. Let offsetMinutes be offsetNanoseconds / (60 × 10**9).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue