-
Notifications
You must be signed in to change notification settings - Fork 3.4k
datepicker: 1.1.23 does not work with $mdDateLocaleProvider #11945
Comments
The demo is not working where
Here's what I found out so far:
Adding $mdDateLocaleProvider.parseDate = function (dateString) {
var m = moment(dateString, ['L', 'YYYY-MM-DD'], true);
return m.isValid() ? m.toDate() : new Date(NaN);
}; but you can't select a date. It will be invalid because this time |
Thank you for the report and the extra debugging findings. It looks like our change to support specifying a timezone in |
This is fixed in If you find any issues, please report them via GitHub issues ASAP. |
It works for me. I double-checked the version: |
@schipa thank you for verifying this! |
Bug, enhancement request, or proposal
Demo and steps to reproduce the issue
Demo URL (required)*:
Detailed Reproduction Steps
Explain the expected behavior
Datepicker should work in version 1.1.23 with custom date formats. The behavior should be the same as in version 1.1.22
Explain the current behavior
The user can't select a date from the date picker. Errors are show in the console view.
Discuss the use-case or motivation for changing the existing behavior
List the affected versions of AngularJS, Material, OS, and browsers
Add anything else we should know
Stack Trace
Screenshots
The text was updated successfully, but these errors were encountered: