text: export default function formatDate(date, sep, type) {
  	var d = new Date(date || Date.now()),
  	month = '' + (d.getMonth() + 1),
  	day = '' + d.getDate(),
  	year = d.getFullYear();
  
  	if (month.length < 2) month = '0' + month;
  	if (day.length < 2) day = '0' + day;
  
  	if(!type)return [month, day, year].join(sep);
  	if(type)return [year, day, month].join(sep);
  }