Kalendae
Kalendae copied to clipboard
weekStart option doesn't working
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,