Commit d57f67fc66d4e4920928b1572219947b0111ce47

Authored by Jose Pinto
Exists in master

Merge remote-tracking branch 'upstream/master'

src/js/uppercaseOnly-directive.js
... ... @@ -7,7 +7,7 @@ angular.module('focaDirectivas')
7 7 link: function(scope, element, attrs, ctrl) {
8 8  
9 9 function parser(value) {
10   - if (ctrl.$isEmpty(value)) {
  10 + if (ctrl.$isEmpty(value) || angular.isDate(value)) {
11 11 return value;
12 12 }
13 13 var formatedValue = value.toUpperCase();