My problem is that I'm not able to get the date with a month number format.
This is my code:
<ui:inputDate aura:id="input" value="2018-01-01" format="dd-MM-yyyy" displayDatePicker="true" disabled="true" required="true" />
As we can see, the input is disabled by default, so if we enable the inputDate again we'll see that the month is showing as string and not as a number, here is an example:
How could I force the ui component to show month as a number? Am I doing something wrong?