diff --git a/src/datepicker/datepicker.js b/src/datepicker/datepicker.js index 3cbbfe9809..0ac7615652 100644 --- a/src/datepicker/datepicker.js +++ b/src/datepicker/datepicker.js @@ -650,7 +650,7 @@ function ($compile, $parse, $document, $position, dateFilter, dateParser, datepi // Detect changes in the view from the text box ngModel.$viewChangeListeners.push(function () { - scope.date = dateParser.parse(ngModel.$viewValue, dateFormat, scope.date) || new Date(ngModel.$viewValue); + scope.date = ngModel.$modelValue; }); var documentClickBind = function(event) {