Skip to content

Commit 6346638

Browse files
committed
Editorial: Fix duration record field names
Another couple of leftovers from PR #2943.
1 parent 56303c9 commit 6346638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/duration.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ <h1>
893893
</h1>
894894
<dl class="header">
895895
<dt>description</dt>
896-
<dd>It converts _duration_ into its normalized form, for use in duration calculations that may involve time zones. The duration's days are kept separate and not converted into the [[NormalizedDuration]] field.</dd>
896+
<dd>It converts _duration_ into its normalized form, for use in duration calculations that may involve time zones. The duration's days are kept separate and not converted into the [[NormalizedTime]] field.</dd>
897897
</dl>
898898
<emu-alg>
899899
1. Let _dateDuration_ be ! CreateDateDurationRecord(_duration_.[[Years]], _duration_.[[Months]], _duration_.[[Weeks]], _duration_.[[Days]]).
@@ -910,7 +910,7 @@ <h1>
910910
</h1>
911911
<dl class="header">
912912
<dt>description</dt>
913-
<dd>It converts _duration_ into its normalized form, for use in duration calculations that do not involve time zones. The duration's days are assumed to be uniformly 24 hours, and the [[Date]].[[Days]] field of the returned Record is set to 0, while the [[NormalizedDuration]] field includes the days.</dd>
913+
<dd>It converts _duration_ into its normalized form, for use in duration calculations that do not involve time zones. The duration's days are assumed to be uniformly 24 hours, and the [[Date]].[[Days]] field of the returned Record is set to 0, while the [[NormalizedTime]] field includes the days.</dd>
914914
</dl>
915915
<emu-alg>
916916
1. Let _norm_ be NormalizeTimeDuration(_duration_.[[Hours]], _duration_.[[Minutes]], _duration_.[[Seconds]], _duration_.[[Milliseconds]], _duration_.[[Microseconds]], _duration_.[[Nanoseconds]]).

0 commit comments

Comments
 (0)