Merge branch 'master' of https://github.com/primefaces/primevue
commit
93f3b6e79a
|
@ -1579,8 +1579,10 @@ export default {
|
||||||
let dayNo = 1;
|
let dayNo = 1;
|
||||||
let today = new Date();
|
let today = new Date();
|
||||||
let weekNumbers = [];
|
let weekNumbers = [];
|
||||||
|
let monthRows = Math.ceil((daysLength + firstDay) / 7);
|
||||||
|
|
||||||
for (let i = 0; i < 6; i++) {
|
|
||||||
|
for (let i = 0; i < monthRows; i++) {
|
||||||
let week = [];
|
let week = [];
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
|
|
Loading…
Reference in New Issue