code: function buildISOLocalDate (date) {
  	var out;
  	if (date.year !== undefined) {
  		out = date.year;
  	}
  	if (date.month !== undefined) {
  		out += '-' + pad(date.month + 1);
  	}
  	if (date.day !== undefined) {
  		out += '-' + pad(date.day);
  	}
  	if (date.hour !== undefined) {
  		out += 'T' + pad(date.hour);
  	}
  	if (date.minute !== undefined) {
  		out += ':' + pad(date.minute);
  	}
  	if (date.second !== undefined) {
  		out += ':' + pad(date.second);
  	}
  	return out;
  
  	function pad(number) {
  		if (number < 10) {
  			return '0' + number;
  		}
  		return number;
  	}
  
  }
docs: builds a local date parsed from text, with no ref to server time