PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
In datepicker.js, 42 is hard-coded.
One month may be from 4 weeks to 6 weeks.
So it should be shown to the situation.
// 42 is the number of days on a six-week calendar
var days = this.getDates(firstDate, 42);
for (var i = 0; i < 42; i ++) {
days[i] = angular.extend(this.createDateObject(days[i], this.formatDay), {
secondary: days[i].getMonth() !== month,
uid: scope.uniqueId + '-' + i
});
}
version: lastest
In datepicker.js, 42 is hard-coded. One month may be from 4 weeks to 6 weeks. So it should be shown to the situation.