-
Notifications
You must be signed in to change notification settings - Fork 18
Normative: Change to Min/Max Fraction Digits #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -314,8 +314,8 @@ contributors: Ujjwal Sharma, Younies Mahmoud | |||
1. Set _value_ to _value_ + _duration_.[[Microseconds]] / 10<sup>3</sup> + _duration_.[[Nanoseconds]] / 10<sup>6</sup>. | |||
1. Else, | |||
1. Set _value_ to _value_ + _duration_.[[Nanoseconds]] / 10<sup>3</sup>. | |||
1. Perform ! CreateDataPropertyOrThrow(_nfOpts_, *"maximumFractionDigits"*, _durationFormat_.[[FractionalDigits]]). | |||
1. Perform ! CreateDataPropertyOrThrow(_nfOpts_, *"minimumFractionDigits"*, _durationFormat_.[[FractionalDigits]]). | |||
1. Perform ! CreateDataPropertyOrThrow(_nfOpts_, *"maximumFractionDigits"*, _durationFormat_.[[MinimumFractionDigits]]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is wrong, you need to swap the value
It should NOT be
Perform ! CreateDataPropertyOrThrow(_nfOpts_, *"maximumFractionDigits"*, _durationFormat_.[[MinimumFractionDigits]]).
but
Perform ! CreateDataPropertyOrThrow(_nfOpts_, *"minimumFractionDigits"*, _durationFormat_.[[MinimumFractionDigits]]).
same issue in the next line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for @FrankYFTang's comment. Let's discuss this on thursday.
@sffc why is this labeled "invalid"? I thought this change has TG2 consensus and we just need TG1 consensus to proceed. |
2023-05-17: TG1 consensus. |
TG2 did not approve the PR in its current state; it would like to see an updated PR, as documented here: |
Fixes #144