bug(MatDatePicker): NativeDatePicker not using the correct format initially #31107
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Uh oh!
There was an error while loading. Please reload this page.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When I use the following setup:
the DatePicker will show the date in the wrong format: "13.5.2025" instead of "13.05.2025". Why are the format options ignored?
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
Date is formatted as "13.05.2025".
Actual Behavior
Date is formatted as "13.5.2025".
Environment
The text was updated successfully, but these errors were encountered: