-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
How to start Week from Monday? #3
Comments
You should move calendarHTML-Javascript/index.html Line 20 in 303d243
calendarHTML-Javascript/scripts.js Line 33 in 303d243
let firstDay = (((new Date(year, month)).getDay() - 1) + 7) % 7; For a live example of this you can look at https://verhuurkalender.hubovra.nl/ |
Thanks a lot @fantostisch It saves my day. |
You will just want to change this part: Here, you just change the numbers in the loops as shown in the screenshot. Also, do not forget to change that number inside if() condition. Then, you will want to change this in the HTML: So what I did was just changing the order of th tags. I hope I helped you out! In case I did not, you can always mention me here in the discussion and I will definitely help you out! |
No description provided.
The text was updated successfully, but these errors were encountered: