angular ui bootstrap - Is format also used to parse input string? -


I am using datepicker popup format = 'dd.mm.yyy' . However, if the user is not using the datapaier, but instead enters the date of its own, the date is parsed as MM.dd.yyyy , i.e. month and day mixed Are there.

The same thing can be done in the official:

  1. Scroll down to the dates
  2. Select dd.MM.yyyy format
  3. Enter 01.02.2014 in the "Popup" field above - the resulting date will not be January 2nd, February.

Is there a way to get the right behavior? Or is it a bug?


Comments