'Flat picker date showing in unexpected format
Expected date format is "DD-MM-YYYY" but shown date format as "YYYY-MM-DD" in UI.
- Before opening the date picker, date is shown in the expected format as "DD-MM-YYYY".
- When the date picker is opened, the date format is changed in to "YYYY-MM-DD" format.
- After closing date picker, it came back to the previous state (expected format as "DD-MM-YYYY").
How to show same date format in all the three states mentioned above ?
Solution 1:[1]
outputType is what you need, read the Wiki, if you want to change the date separator (-, /, .) then following this dateSeparator - Wiki
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
