Skip to content

Commit ddf88a5

Browse files
authored
Apply useIsoWeekday to scrollable mode (#266, #297)
1 parent fa527de commit ddf88a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CalendarStrip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class CalendarStrip extends Component {
479479

480480
for (let i = 0; i < numDays; i++) {
481481
let date;
482-
if (useIsoWeekday && !scrollable) {
482+
if (useIsoWeekday) {
483483
// isoWeekday starts from Monday
484484
date = this.setLocale(_startingDate.clone().isoWeekday(i + 1));
485485
} else {

0 commit comments

Comments
 (0)