Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit a393d02

Browse files
committed
Pass dateOptions to the month name format call
1 parent 7be27a1 commit a393d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Month.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Month extends PureComponent {
5757
<div className={styles.month} style={this.props.style}>
5858
{this.props.showMonthName ? (
5959
<div className={styles.monthName}>
60-
{format(this.props.month, this.props.monthDisplayFormat)}
60+
{format(this.props.month, this.props.monthDisplayFormat, this.props.dateOptions)}
6161
</div>
6262
) : null}
6363
{this.props.showWeekDays && renderWeekdays(styles, this.props.dateOptions)}

0 commit comments

Comments
 (0)