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

Language locale not changing when dropdown-years selected #2495

Closed
matteotrab opened this issue Sep 27, 2024 · 0 comments · Fixed by #2497
Closed

Language locale not changing when dropdown-years selected #2495

matteotrab opened this issue Sep 27, 2024 · 0 comments · Fixed by #2497
Assignees
Labels
bug Bug or Bug fixes

Comments

@matteotrab
Copy link

Thanks for taking the time for writing this bug report.

Code

import { fr } from "react-day-picker/locale";

<DayPicker
  captionLayout="dropdown-years"
  mode="single"
  locale=fr

/>
import { DayPicker } from "react-day-picker";

export function Start() {
  return (
    <DayPicker  />
  );
}

Expected Behavior

The name of the months in the nav bar should be in French.

Actual Behavior

The name of the months are in English.

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

Successfully merging a pull request may close this issue.

2 participants