We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Set the locale property in the component is not changing the texts in datePicker, how to fix this? Thanks in advance!
My code:
<DatePicker date={this.state.date} locale="pt" onSelect={date => { this.setState(state => ({ date: date })); }} />
The text was updated successfully, but these errors were encountered:
This component uses moment.js under the hood. Have you properly configured moment.js with "pt" language enabled?
Sorry, something went wrong.
Also see the following comments if you encountered similiar issue:
No branches or pull requests
Set the locale property in the component is not changing the texts in datePicker, how to fix this?
Thanks in advance!
My code:
The text was updated successfully, but these errors were encountered: