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

weekStart option doesn't working #195

Open
nhat-tong opened this issue Nov 18, 2016 · 0 comments
Open

weekStart option doesn't working #195

nhat-tong opened this issue Nov 18, 2016 · 0 comments

Comments

@nhat-tong
Copy link

nhat-tong commented Nov 18, 2016

Hi there,

I would like to display the calendar from Monday to Friday.
In my script, I configured the option weekStart = 1 but it doesn't working (it started always from Sunday).

<script type="text/javascript" charset="utf-8">
		new Kalendae(document.body, {
			months:1,
			mode:'week',
			weekStart: 1,
			direction:'future',
			blackout: function (date) {
				return [1,0,0,0,0,0,1][Kalendae.moment(date).day()]; //blackout weekends
			}
		});
</script>

What can I do?
Thanks in advance,

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

1 participant