@@ -961,18 +961,17 @@ <h1>
961
961
1. Set _numericUnitFound_ to *true* .
962
962
1. Else,
963
963
1. Let _nfOpts_ be OrdinaryObjectCreate(*null* ).
964
- 1. If _unit_ is *"seconds"* , *"milliseconds"* , or *"microseconds"* , then
965
- 1. If NextUnitFractional(_durationFormat_ , _unit_ ) is *true* , then
966
- 1. Set _value_ to _value_ + ComputeFractionalDigits(_durationFormat_ , _duration_ ).
967
- 1. Let _fractionDigits_ be _durationFormat_ .[[FractionalDigits]].
968
- 1. If _fractionDigits_ is *undefined* , then
969
- 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"maximumFractionDigits"* , *9* <sub >𝔽</sub >).
970
- 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"minimumFractionDigits"* , *+0* <sub >𝔽</sub >).
971
- 1. Else,
972
- 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"maximumFractionDigits"* , _fractionDigits_ ).
973
- 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"minimumFractionDigits"* , _fractionDigits_ ).
974
- 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"roundingMode"* , *"trunc"* ).
975
- 1. Set _numericUnitFound_ to *true* .
964
+ 1. If _unit_ is one of *"seconds"* , *"milliseconds"* , or *"microseconds"* , and NextUnitFractional(_durationFormat_ , _unit_ ) is *true* , then
965
+ 1. Set _value_ to _value_ + ComputeFractionalDigits(_durationFormat_ , _duration_ ).
966
+ 1. Let _fractionDigits_ be _durationFormat_ .[[FractionalDigits]].
967
+ 1. If _fractionDigits_ is *undefined* , then
968
+ 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"maximumFractionDigits"* , *9* <sub >𝔽</sub >).
969
+ 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"minimumFractionDigits"* , *+0* <sub >𝔽</sub >).
970
+ 1. Else,
971
+ 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"maximumFractionDigits"* , _fractionDigits_ ).
972
+ 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"minimumFractionDigits"* , _fractionDigits_ ).
973
+ 1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"roundingMode"* , *"trunc"* ).
974
+ 1. Set _numericUnitFound_ to *true* .
976
975
1. If _display_ is *"always"* or _value_ is not 0, then
977
976
1. Perform ! CreateDataPropertyOrThrow(_nfOpts_ , *"numberingSystem"* , _durationFormat_ .[[NumberingSystem]]).
978
977
1. If _signDisplayed_ is *true* , then
0 commit comments