We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e76b4 commit 674de83Copy full SHA for 674de83
src/calendar/table/date-table-head.jsx
@@ -5,14 +5,14 @@ class DateTableHead extends PureComponent {
5
render() {
6
const { prefix, momentLocale } = this.props;
7
const firstDayOfWeek = momentLocale.firstDayOfWeek();
8
- const weekdaysMin = momentLocale.weekdaysMin();
+ const weekdaysShort = momentLocale.weekdaysShort();
9
10
const elements = [];
11
for (let i = 0; i < DAYS_OF_WEEK; i++) {
12
const index = (firstDayOfWeek + i) % DAYS_OF_WEEK;
13
elements.push(
14
<th key={i} className={`${prefix}calendar-th`} role="cell">
15
- {weekdaysMin[index]}
+ {weekdaysShort[index]}
16
</th>
17
);
18
}
0 commit comments