Skip to content

Define the start of the week #7

Description

@Schrank

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions