Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale is always english #1120

Open
JonasJore opened this issue Nov 27, 2024 · 1 comment
Open

Locale is always english #1120

JonasJore opened this issue Nov 27, 2024 · 1 comment

Comments

@JonasJore
Copy link

The locale in <Calendar /> is always english, even though i have actually set the locale-prop as other values:

locale="fr"

Expected behaviour here should be that days in mode="month" and day names in mode="day" should be french with the prop set as in my example.

@acro5piano
Copy link
Owner

are you importing the dayjs locale? e.g. import 'dayjs/locale/fr'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants