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 41471f5 commit 2fc3aefCopy full SHA for 2fc3aef
js/src/calendar.js
@@ -340,7 +340,7 @@ class Calendar extends BaseComponent {
340
${this._view === 'months' ? listOfMonths.map((row, index) => (
341
`<tr>${row.map((month, idx) => (
342
`<td class="calendar-cell">
343
- <div class="calendar-cell-inner month" data-coreui-month="${(index * 3) + idx}">
+ <div class="calendar-cell-inner month" data-coreui-month="${(index * 3) + idx - addMonths}">
344
${month}
345
</div>
346
</td>`
0 commit comments