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

Commit c4633ed

Browse files
committed
Get weekdayDisplayFormat from props
1 parent a54f30e commit c4633ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Calendar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class Calendar extends PureComponent {
254254
end: endOfWeek(now, this.dateOptions),
255255
}).map((day, i) => (
256256
<span className={this.styles.weekDay} key={i}>
257-
{format(day, 'E', this.dateOptions)}
257+
{format(day, this.props.weekdayDisplayFormat, this.dateOptions)}
258258
</span>
259259
))}
260260
</div>

0 commit comments

Comments
 (0)