material-components-android
material-components-android copied to clipboard
[DatePicker] Fix date input masks
trafficstars
- Fixes incorrect date masks for some locales.
- Fixes auto-adding delimiters for Korean language.
- Fixes auto-adding delimiters for patterns that contain digits.
- Fixes auto-adding delimiters for patterns that contain non-Latin letters.
Fixes https://github.com/material-components/material-components-android/issues/4477.
Also see https://github.com/material-components/material-components-android/issues/3625#issuecomment-1786059397 for additional context and explanation.
I'll take a deeper look when I have a chance, maybe review the logic in the DateSelectors because what you're doing looks like what the code already does when a custom format is provided, see this for example.
Would really appreciate it if there would be some progress on this, the linked issue was already closed even though the bug is still present
Bump