Datepicker formats supported
Hello,
Based on the Datepicker demo I found an issue by entering a date manually.
Those formats are supported:
- dd/mm/yyyy
- dd-mm-yyyy
- yyyy/mm/dd
This format is not supported(it reduce one day in the model, the time zone is correct, See screenshots)
- yyyy-mm-dd
1. Screenshot 1

2. Screenshot 2

Thank you.
This issue happens when your browser time zone is GMT-X. Im in north America, I have GMT-0400, for the example in the screenshot(2016-06-02), javaScript will handle that as Wed Jun 01 2016 20:00:00 GMT-0400 (Eastern Daylight Time), for this reason it shows in the calendar is June first.
Any luck to make datepicker handle that?
P.S: This date format(yyyy-mm-dd) is ISO 8601
You are welcome to submit a PR to enhance the current datePicker. We can reopen this issue at that time. Otherwise this feature will be relegated to ngM2.