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

Define the start of the week #7

Open
Schrank opened this issue Feb 2, 2012 · 1 comment
Open

Define the start of the week #7

Schrank opened this issue Feb 2, 2012 · 1 comment

Comments

@Schrank
Copy link

Schrank commented Feb 2, 2012

We germans like the monday for the first Day of the week, so I changed the Arrays for the Daynames and

// Calculate the first day to display (including the previous month)
date.setDate(1)
date.setDate(-(date.getDay()) + 2) <== here was a + 1

What we need is a config-variable (actually I didn't understand how to bring variables into the code) and a connection between the array key and this variable... And we need to bring this variable to the line of code pasted above

@Gargaj
Copy link

Gargaj commented Jan 12, 2015

@Schrank I have a pull request that does just that: #8

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