set: function() {
var formated = DPGlobal.formatDate(this.date, this.format);
- console.log(formated);
if (!this.isInput) {
if (this.component){
this.element.find('input').prop('value', formated);
},
setValue: function(newDate) {
+ console.log('test??');
if (typeof newDate === 'string') {
this.date = DPGlobal.parseDate(newDate, this.format);
} else {