diff --git a/UI/WebServerResources/js/Contacts/Card.service.js b/UI/WebServerResources/js/Contacts/Card.service.js index f396f1441..00fbac211 100644 --- a/UI/WebServerResources/js/Contacts/Card.service.js +++ b/UI/WebServerResources/js/Contacts/Card.service.js @@ -174,7 +174,7 @@ _this.refs[i] = new Card(o); }); // Instanciate date object of birthday - if (this.birthday) { + if (this.birthday && angular.isString(this.birthday)) { var dlp = Card.$Preferences.$mdDateLocaleProvider; this.birthday = this.birthday.parseDate(dlp, '%Y-%m-%d'); this.$birthday = dlp.formatDate(this.birthday);