Skip to content

Commit

Permalink
Editorial: Fix duration record field names
Browse files Browse the repository at this point in the history
Another couple of leftovers from PR #2943.
  • Loading branch information
ptomato committed Oct 8, 2024
1 parent 91ec749 commit 33228e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/duration.html
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ <h1>
</h1>
<dl class="header">
<dt>description</dt>
<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>
<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>
</dl>
<emu-alg>
1. Let _dateDuration_ be ! CreateDateDurationRecord(_duration_.[[Years]], _duration_.[[Months]], _duration_.[[Weeks]], _duration_.[[Days]]).
Expand All @@ -910,7 +910,7 @@ <h1>
</h1>
<dl class="header">
<dt>description</dt>
<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>
<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>
</dl>
<emu-alg>
1. Let _norm_ be NormalizeTimeDuration(_duration_.[[Hours]], _duration_.[[Minutes]], _duration_.[[Seconds]], _duration_.[[Milliseconds]], _duration_.[[Microseconds]], _duration_.[[Nanoseconds]]).
Expand Down

0 comments on commit 33228e7

Please sign in to comment.