Skip to content

Commit

Permalink
fix day keys are now null by default
Browse files Browse the repository at this point in the history
  • Loading branch information
itmor committed May 29, 2020
1 parent 2470942 commit b95ea50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/calendar-object.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/calendar-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CalendarObject {
const mounthDays = this.#getMonthDays(yearNum, Number(mounth));

for (let daysCount = 0; daysCount < mounthDays; daysCount++) {
calendarArr[mounth][daysCount + 1] = {};
calendarArr[mounth][daysCount + 1] = null;
}
});

Expand Down

0 comments on commit b95ea50

Please sign in to comment.