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.
2 parents 32f3a77 + 0caebad commit 423ece5Copy full SHA for 423ece5
examples/representMonth/render-text.js
@@ -20,7 +20,7 @@ const calWidth = 7 * cellSize + 8
20
monthNames.forEach(function (monthName, index) {
21
const label = `${monthName} ${year}`
22
console.log(`${' '.repeat((calWidth - label.length) / 2)}${label}`) // centers the label over the calendar
23
- const representation = representMonth({date: new Date(year, index)})
+ const representation = representMonth({date: new Date(year, index)}) //?
24
const renderData = [['S', 'M', 'T', 'W', 'T', 'F', 'S']]
25
renderData
26
.concat(representation.weeks)
0 commit comments