You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i. Let nextValue be duration.[[Seconds]].
ii. Let nextDisplay be durationFormat.[[SecondsDisplay]].
iii. If durationFormat.[[MillisecondsStyle]] is "numeric", then
i. Set nextValue to nextValue + duration.[[Milliseconds]] / 103 + duration.[[Microseconds]] / 106 + duration.[[Nanoseconds]] / 109.
Can be simplified to:
i. Let nextValue be duration.[[Seconds]] + duration.[[Milliseconds]] / 103 + duration.[[Microseconds]] / 106 + duration.[[Nanoseconds]] / 109.
ii. Let nextDisplay be durationFormat.[[SecondsDisplay]].
Because durationFormat.[[MillisecondsStyle]] is "numeric" is always true in this branch.
The text was updated successfully, but these errors were encountered:
ryzokuken
added a commit
to ryzokuken/proposal-intl-duration-format
that referenced
this issue
Jun 30, 2023
PartitionDurationFormatPattern, steps 4.l.9.b.i-iii.:
Can be simplified to:
Because
durationFormat.[[MillisecondsStyle]] is "numeric"
is alwaystrue
in this branch.The text was updated successfully, but these errors were encountered: