Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aint Workin for Calendars ending on Sunday #1

Open
OmarGardener opened this issue Sep 24, 2020 · 1 comment
Open

Aint Workin for Calendars ending on Sunday #1

OmarGardener opened this issue Sep 24, 2020 · 1 comment

Comments

@OmarGardener
Copy link

Switching between months showed, that a couple of months, f.e. October 2020, ain't rendering at all.

script.js:
Shoving " monthDays.innerHTML = days;" from line 68 to below the for loop will do the trick.

@alpzaf
Copy link

alpzaf commented Nov 9, 2021

Replacing "const nextDays = 7 - lastDayIndex -1;" ==> " const nextDays = 7 - lastDayIndex;" will solve the problem with calendars which are ending on Sunday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants