Skip to content

Commit

Permalink
Update calendar.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored and ptomato committed Dec 14, 2023
1 parent 8f7f21c commit 8621289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ <h1>
</dl>
<emu-alg>
1. Assert: IsValidISODate(_year_, _month_, _day_) is *true*.
1. Let _epochDays_ be ISODateToEpochDays(year, _month_ - 1, day).
1. Let _epochDays_ be ISODateToEpochDays(_year_, _month_ - 1, _day_).
1. Return EpochTimeToDayInYear(EpochDaysToEpochMs(_epochDays_, 0)) + 1.
</emu-alg>
</emu-clause>
Expand All @@ -1257,7 +1257,7 @@ <h1>
</dl>
<emu-alg>
1. Assert: IsValidISODate(_year_, _month_, _day_) is *true*.
1. Let _epochDays_ be ISODateToEpochDays(year, _month_ - 1, day).
1. Let _epochDays_ be ISODateToEpochDays(_year_, _month_ - 1, _day_).
1. Let _dayOfWeek_ be EpochTimeToWeekDay(EpochDaysToEpochMs(_epochDays_, 0)).
1. If _dayOfWeek_ = 0, return 7.
1. Return _dayOfWeek_.
Expand Down

0 comments on commit 8621289

Please sign in to comment.