Month View shows a redundant week on the calendar

pull/14/head
mertsincan 2019-07-08 14:46:02 +03:00
parent cb1ebca82d
commit 9c95b917de
1 changed files with 3 additions and 1 deletions

View File

@ -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) {