-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Problem
While integrating the DatePicker component, I noticed that it always displays dates in the "MM-DD-YYYY" format, even when the application's locale is set to "pt-BR". After some investigation, I found that the correct way to localize the DatePicker is to wrap the app (or component tree) with LocaleProvider and pass a prop locale.
However, this wasn't immediately clear from the documentation. It took some time and effort to discover this requirement.
Adding a brief note or example in the documentation showing how to properly configure LocaleProvider for locale support would help other developers avoid confusion and save time when implementing localized date formatting.
Expected behavior
No response
Reproducible Example
Suggested solution
No response
Additional context
No response
Package
No response
Packages version
No response
Browser
No response
Package Manager
pnpm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Done