Skip to content

Commit f666243

Browse files
ptomatoMs2ger
authored andcommitted
Editorial: Add structured header for ToPartialDuration
I forgot this one in #2070.
1 parent de58241 commit f666243

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

spec/duration.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,8 +1042,16 @@ <h1>
10421042
</emu-alg>
10431043
</emu-clause>
10441044

1045-
<emu-clause id="sec-temporal-topartialduration" aoid="ToPartialDuration">
1046-
<h1>ToPartialDuration ( _temporalDurationLike_ )</h1>
1045+
<emu-clause id="sec-temporal-topartialduration" type="abstract operation">
1046+
<h1>
1047+
ToPartialDuration (
1048+
_temporalDurationLike_: an ECMAScript language value,
1049+
)
1050+
</h1>
1051+
<dl class="header">
1052+
<dt>description</dt>
1053+
<dd>It returns a partial Duration Record with fields set according to the properties of _temporalDurationLike_.</dd>
1054+
</dl>
10471055
<emu-alg>
10481056
1. If Type(_temporalDurationLike_) is not Object, then
10491057
1. Throw a *TypeError* exception.

0 commit comments

Comments
 (0)