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

Fix startOf function for isoWeek #17

Closed
stockiNail opened this issue Aug 10, 2020 · 0 comments · Fixed by #18
Closed

Fix startOf function for isoWeek #17

stockiNail opened this issue Aug 10, 2020 · 0 comments · Fixed by #18

Comments

@stockiNail
Copy link
Contributor

The startOf function is accepting a boolean for Sunday(false) and Monday(true).

Instead it should get the the week day (number) between 0 (Sunday) and 6(Saturday) in order to be more flexible to provide the startOf the week based on the parameter.

See chartjs/chartjs-adapter-luxon#23

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

Successfully merging a pull request may close this issue.

1 participant