You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
We use the datepicker with the french format : dd/MM/yyyy and with the popup directive.
You use sometimes keyboard to type the date. When you only type the day, the model is not changed.
Ex : current date is 29/06/2015. You change 29 to 01, the date doesn't change. Here is the plunker :
In my Plunker you will not see the error TypeError: baseDate.getFullYear is not a function as in the #3713
The stack of the error is :
Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.
(anonymous function) @ angular.js:11607
render @ ui-bootstrap-tpls-0.13.0.js:1071
ngModelCtrl.$render @ ui-bootstrap-tpls-0.13.0.js:1059
ngModelWatch @ angular.js:23293
Scope.$digest @ angular.js:14235
Scope.$apply @ angular.js:14506
$$debounceViewValueCommit @ angular.js:23262
$setViewValue @ angular.js:23234
listener @ angular.js:19653
eventHandler @ angular.js:3014
We use the datepicker with the french format : dd/MM/yyyy and with the popup directive.
You use sometimes keyboard to type the date. When you only type the day, the model is not changed.
Ex : current date is 29/06/2015. You change 29 to 01, the date doesn't change. Here is the plunker :
http://plnkr.co/edit/0lgEAmwhSxiimfKxmS24?p=preview
I don't think this is du to format because with yyyy/MM/dd i also reproduce the problem.
The text was updated successfully, but these errors were encountered: