Skip to content

Commit 03efe8a

Browse files
linusgptomato
authored andcommitted
Editorial: Fix PlainYearMonth.prototype.daysInYear return value
1 parent d588e05 commit 03efe8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/plainyearmonth.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ <h1>get Temporal.PlainYearMonth.prototype.daysInYear</h1>
187187
<emu-alg>
188188
1. Let _yearMonth_ be the *this* value.
189189
1. Perform ? RequireInternalSlot(_yearMonth_, [[InitializedTemporalYearMonth]]).
190-
1. Return 𝔽(CalendarISOToDate(_yearMonth_.[[Calendar]], _yearMonth_.[[ISODate]]).[[Day]]).
190+
1. Return 𝔽(CalendarISOToDate(_yearMonth_.[[Calendar]], _yearMonth_.[[ISODate]]).[[DaysInYear]]).
191191
</emu-alg>
192192
</emu-clause>
193193

0 commit comments

Comments
 (0)