Polaris-react: Month and Day Titles not displaying when using Datepicker Component

Created on 10 Oct 2019  路  3Comments  路  Source: Shopify/polaris-react

I'm using the Datepicker component and it will display my calendar with only the year in the title, as displayed below:
Screen Shot 2019-10-09 at 5 38 47 PM
I am looking for functionality similar to what is displayed in the Polaris Datepicker documentation and on a Shopify Admin Page --> Orders --> More Filters --> Date, as displayed below:
Screen Shot 2019-10-09 at 5 39 21 PM
I'm hoping to be able to display month beside year and a separate row underneath the title which displays the days of the week. Thanks in advance for any help!

Icebox

Most helpful comment

We display the month by default but it is pulled in as a translation string.

Are you setting a i18n option on your <AppProvider> per the README: https://github.com/shopify/polaris-react#usage

All 3 comments

馃憢 Thanks for opening your first issue. A contributor should give feedback soon. If you haven鈥檛 already, please check out the contributing guidelines.

We display the month by default but it is pulled in as a translation string.

Are you setting a i18n option on your <AppProvider> per the README: https://github.com/shopify/polaris-react#usage

This issue has been inactive for 180 days and labeled with Icebox. It will be closed in 7 days if there is no further activity.

Was this page helpful?
0 / 5 - 0 ratings