Skip to content

Commit 0caebad

Browse files
committed
updated: render-text example
1 parent 2cfd72a commit 0caebad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/representMonth/render-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const calWidth = 7 * cellSize + 8
2020
monthNames.forEach(function (monthName, index) {
2121
const label = `${monthName} ${year}`
2222
console.log(`${' '.repeat((calWidth - label.length) / 2)}${label}`) // centers the label over the calendar
23-
const representation = representMonth({date: new Date(year, index)})
23+
const representation = representMonth({date: new Date(year, index)}) //?
2424
const renderData = [['S', 'M', 'T', 'W', 'T', 'F', 'S']]
2525
renderData
2626
.concat(representation.weeks)

0 commit comments

Comments
 (0)