Skip to content

Commit

Permalink
Merge pull request #133 from mixxr/patch-1
Browse files Browse the repository at this point in the history
fixed typo datetime-picker.js
  • Loading branch information
Gillardo authored Jul 7, 2016
2 parents e275cc5 + f2dc0f3 commit 65f2a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datetime-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ angular.module('ui.bootstrap.datetimepicker', ['ui.bootstrap.dateparser', 'ui.bo
} else if (angular.isDate(new Date(value)) && !isNaN(new Date(value).valueOf())) {
return validateMinMax(new Date(value));
} else if (angular.isString(value)) {
return !isNaN(parseDateString(viewValue)) && validateMinMax(parseDateString(viewVialue));
return !isNaN(parseDateString(viewValue)) && validateMinMax(parseDateString(viewValue));
} else {
return false;
}
Expand Down

0 comments on commit 65f2a40

Please sign in to comment.