-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/datepicker
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Hello,
We use the Material date picker to fill several dates and then display them with 'shortDate' pipe.
We also work/switch with from several locales, and we notice some inconsistencies for some of them:
- de-DE

- nl-NL

If we look at fr-FR for example, the display is correct and consistent:

I know CDRL is used behind the scene for locale management here, but as datePicker and shortDate are both provided by Angular, i suspect more an inconstentcy between both components.
Reproduction
Steps to reproduce:
- Use a sample angular 20 application, and declare provideNativeDateAdapter()
- Use natively the DatePicker component to select the date
- Use the shortDate pipe to display the select date with the datepicker
Expected Behavior
Consistent display between datePicker and shortDate pipe format.
Actual Behavior

Environment
- Angular: 20.2.2
- CDK/Material: 20.2.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Wndows
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/datepicker