support custom date format

$('#mydate').glDatePicker({
	showAlways: false,
	format: 'yyyy-mm-dd'
});