Skip to content

Commit

Permalink
Fixed month aria-label date format (Hacker0x01#1767) (Hacker0x01#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
csilkwor authored and martijnrusschen committed Jun 5, 2019
1 parent 0b190bc commit 53ea064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/month.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default class Month extends React.Component {
className={this.getClassNames()}
onMouseLeave={this.handleMouseLeave}
role="listbox"
aria-label={"month-" + utils.formatDate(this.props.day, "YYYY-MM")}
aria-label={"month-" + utils.formatDate(this.props.day, "yyyy-MM")}
>
{showMonthYearPicker ? this.renderMonths() : this.renderWeeks()}
</div>
Expand Down

0 comments on commit 53ea064

Please sign in to comment.