-
Hi, I want the weekdays to show 3 characters instead of two. Is there any way to do this in v8? I keep seeing the weekdaysShort prop online, but it seems like this only works in v7. Also, how can I make the weekdays sentence case (e.g. Mon, Tue, Thur) instead of uppercase? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
gpbl
Feb 1, 2023
Replies: 1 comment 1 reply
-
@2kjen you can pass a <DayPicker
formatters={ formatWeekdayName: (day) => { /* return `Mon` or whatever */ }
/> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
2kjen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@2kjen you can pass a
formatWeekdayName
function to theformatters
prop to format the name of the week: