We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14e921 commit 0221714Copy full SHA for 0221714
src/representMonth.js
@@ -11,7 +11,7 @@ export const representMonth = function (args = expandDefaults(defaults)) {
11
12
const firstOfMonth = new representMonth.DateAdapter(date.valueOf())
13
firstOfMonth.setDate(1)
14
- const firstDayOfWeek = firstOfMonth.getDay() //?
+ const firstDayOfWeek = firstOfMonth.getDay()
15
const numberOfDays = getDaysInMonth(1 + date.getMonth(), date.getFullYear())
16
const prependAdjustment = firstDayOfWeek > startingDayOfWeek ? 0 : 7
17
const prepend = (new Array((prependAdjustment + firstDayOfWeek - startingDayOfWeek) % 7))
0 commit comments