-
Notifications
You must be signed in to change notification settings - Fork 16
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
Datepciker headers are incorrect when using locale (en) #246
Labels
bug
Something isn't working
Comments
There is an additional issue. When starting a fresh project with the Digipolis Starter kit, and including the Datepicker component on a page, locale=nl does not work. This is related to moment/moment#4216 As a workaround, one can put this code at the top of index.js: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using the react date picker in 'en' locale, the headers are misaligned. Sunday is first day of the week, but the calendar dates are still assuming Monday as first day of the week.
Screenshot attached.
To Reproduce
Steps to reproduce the behavior:
Screenshots
OS (please complete the following information):
Additional context
Has been discussed with Joeri S. When setting locale to 'nl' the issue is fixed.
The text was updated successfully, but these errors were encountered: