code: function(inst, noDefault) {
  		if (inst.input.val() == inst.lastVal) {
  			return;
  		}
  		var dateFormat = this._get(inst, 'dateFormat');
  		var dates = inst.lastVal = inst.input ? inst.input.val() : null;
  		var date, defaultDate;
  		date = defaultDate = this._getDefaultDate(inst);
  		var settings = this._getFormatConfig(inst);
  		try {
  			date = this.parseDate(dateFormat, dates, settings) || defaultDate;
  		} catch (event) {
  			this.log(event);
  			dates = (noDefault ? '' : dates);
  		}
  		inst.selectedDay = date.getDate();
  		inst.drawMonth = inst.selectedMonth = date.getMonth();
  		inst.drawYear = inst.selectedYear = date.getFullYear();
  		inst.currentDay = (dates ? date.getDate() : 0);
  		inst.currentMonth = (dates ? date.getMonth() : 0);
  		inst.currentYear = (dates ? date.getFullYear() : 0);
  		this._adjustInstDate(inst);
  	}
docs: /* Parse existing date and initialise date picker.