Date Component doesn't swaps day and month when typing

I'm using a date component in my app with the following date format: dd.MM.yyyy.
When I type the date manually, the component selects the date according to the MM.dd.yyyy format, therefore effectively swapping month and day (see screenshot). Weirdly, the manual entry is working fine when day (dd) is larger than 12.