Skip to content

Commit 1c9f027

Browse files
committed
Updated Days View to allow duplicate Weekdays
1 parent 2d82530 commit 1c9f027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DaysView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var DateTimePickerDays = React.createClass({
1919
DOM.th({ key: 's', className: 'rdtSwitch', onClick: this.props.showView('months'), colSpan: 5, 'data-value': this.props.viewDate.month() }, locale.months( date ) + ' ' + date.year() ),
2020
DOM.th({ key: 'n', className: 'rdtNext' }, DOM.button({onClick: this.props.addTime(1, 'months'), type: 'button' }, '›'))
2121
]),
22-
DOM.tr({ key: 'd'}, this.getDaysOfWeek( locale ).map( function( day ){ return DOM.th({ key: day, className: 'dow'}, day ); }) )
22+
DOM.tr({ key: 'd'}, this.getDaysOfWeek( locale ).map( function( day, index ){ return DOM.th({ key: day + index, className: 'dow'}, day ); }) )
2323
]),
2424
DOM.tbody({key: 'tb'}, this.renderDays())
2525
];

0 commit comments

Comments
 (0)