Skip to content

Normative: Fix [[TimeZoneOffsetString]] value in ParseTemporalInstantString#1799

Merged
ptomato merged 1 commit intotc39:mainfrom
linusg:fix-timezoneoffsetstring-value-in-parsetemporalinstantstring
Sep 13, 2021
Merged

Normative: Fix [[TimeZoneOffsetString]] value in ParseTemporalInstantString#1799
ptomato merged 1 commit intotc39:mainfrom
linusg:fix-timezoneoffsetstring-value-in-parsetemporalinstantstring

Conversation

@linusg
Copy link
Member

@linusg linusg commented Sep 2, 2021

This sets offsetString to timeZoneResult.[[OffsetString]] and overwrites it in the next step if necessary, but the [[TimeZoneOffsetString]] field in the returned record uses timeZoneResult.[[OffsetString]] again instead of offsetString as intended.

This change is needed to actually make the fix attempted in f6ac475 work.

…String

This sets `offsetString` to `timeZoneResult.[[OffsetString]]` and
overwrites it in the next step if necessary, but the
`[[TimeZoneOffsetString]]` field in the returned record uses
`timeZoneResult.[[OffsetString]]` again instead of `offsetString` as
intended.

This change is needed to actually make the fix attempted in f6ac475 work.
@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #1799 (52ae8dd) into main (87cc858) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1799   +/-   ##
=======================================
  Coverage   94.86%   94.86%           
=======================================
  Files          19       19           
  Lines       10913    10913           
  Branches     1739     1739           
=======================================
  Hits        10353    10353           
  Misses        547      547           
  Partials       13       13           
Flag Coverage Δ
test262 78.25% <ø> (ø)
tests 90.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87cc858...52ae8dd. Read the comment docs.

@ptomato
Copy link
Collaborator

ptomato commented Sep 2, 2021

Thanks. Since the change in #1749 was just approved in TC39 two days ago, I guess it is probably OK to merge this without waiting for the next TC39 meeting? I'll check.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ptomato
Copy link
Collaborator

ptomato commented Sep 13, 2021

I'm going to go ahead and merge this since it correctly implements the normative change that reached consensus in TC39.

@ptomato ptomato merged commit 78c3b8b into tc39:main Sep 13, 2021
@linusg linusg deleted the fix-timezoneoffsetstring-value-in-parsetemporalinstantstring branch September 13, 2021 23:59
@ptomato ptomato added the spec-text Specification text involved label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec-text Specification text involved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants