Posted 20 January 2020, 11:12 pm EST
Hi Team,
To replicate this issue, I have created a sample demo https://stackblitz.com/edit/ckkyne-6tnexz?file=src/app/app.component.html.
Try to type this →
Date Input Output(tab out)
9-6-2022 09-Jun-2022
9-6-2022 06-Sep-2022
9-6-2022 09-Jun-2022
If you noticed, the component transforms date each time differently.
Also I noticed, it’s more of a format issue. Currently I’m providing format as ‘dd-MMM-yyyy’ but if I change it to ‘MMM-dd-yyyy’, component works fine(you can also try the same with stackblitz example).
Regards,
Harsh