From 90759917c4389ed60222426bf18be76e94ada6a8 Mon Sep 17 00:00:00 2001 From: Arnaud Crevier <30529818+ArnaudCrevier@users.noreply.github.com> Date: Wed, 27 Nov 2019 15:33:44 -0500 Subject: [PATCH] Update clndr.js missing month number in data --- src/clndr.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/clndr.js b/src/clndr.js index 4c1f97c..9742b87 100644 --- a/src/clndr.js +++ b/src/clndr.js @@ -730,6 +730,7 @@ months: [], year: null, month: null, + monthNumber: 0, eventsLastMonth: [], eventsNextMonth: [], eventsThisMonth: [], @@ -771,6 +772,7 @@ days: [], year: null, month: null, + monthNumber: 0, months: months, eventsThisMonth: [], numberOfRows: numberOfRows, @@ -798,6 +800,7 @@ eventsThisInterval: null, extras: this.options.extras, month: this.month.format('MMMM'), + monthNumber: this.month.format('MM'), daysOfTheWeek: this.daysOfTheWeek, eventsLastMonth: this.eventsLastMonth, eventsNextMonth: this.eventsNextMonth,