-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Bug - Datepicker - Chrome - Months displayed in wrong format #4545
Comments
I just ran into this and fixed it by setting the locale explicitly in the app module.
And whilst debugging I found it useful to run these snippets in the chrome console to see what the
See NativeDateAdaptor for more info. https://github.com/angular/material2/blob/master/src/lib/core/datetime/native-date-adapter.ts |
Looks like this has been resolved. I'll just add that we do have a bug tracking some work to make |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug
Default locale settings in chrome cause the datepicker to display months in an incorrect format
I suspect a default locale setting needs to be added in the date adapter
What is the expected behavior?
Months should be displayed e.g. 'May 2017'
What is the current behavior?
Months are displayed e.g. '2017 M05'
What are the steps to reproduce?
View the demo in chrome
https://material.angular.io/components/component/datepicker
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material beta5
OS: Ubuntu 17.04, Android (haven't tested on other OS's)
Browser: Chrome
The text was updated successfully, but these errors were encountered: