Skip to content

Commit b8bf805

Browse files
authored
Normative: Revert change to month code constraining (#82)
This effectively reverts the change from #67 as per TG2 decision on 2025-09-11.
1 parent 3351d27 commit b8bf805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ contributors: Google, Ecma International
10641064
1. Add _duration_.[[Years]] to _calendarDate_ without changing any less-significant fields.
10651065
1. If YearContainsMonthCode(_calendar_, _calendarDate_.[[Year]], _calendarDate_.[[MonthCode]]) is *false*, then
10661066
1. NOTE: This only happens in lunisolar calendars.
1067-
1. Set _calendarDate_.[[MonthCode]] to ! ConstrainMonthCode(_calendar_, _calendarDate_.[[Year]], _calendarDate_.[[MonthCode]], ~constrain~).
1067+
1. Set _calendarDate_.[[MonthCode]] to ! ConstrainMonthCode(_calendar_, _calendarDate_.[[Year]], _calendarDate_.[[MonthCode]], _overflow_).
10681068
1. Set _calendarDate_.[[Month]] to MonthCodeToOrdinal(_calendar_, _calendarDate_.[[Year]], _calendarDate_.[[MonthCode]]).
10691069
1. Add _duration_.[[Months]] to _calendarDate_, balancing _calendarDate_ if it goes over a year boundary.
10701070
1. If the date described by _calendarDate_ does not exist, then

0 commit comments

Comments
 (0)