function o(t){if(t===""||t===null||t===void 0)return"";let n=new Date(t),f=n.getFullYear(),e=n.getMonth();e=e+1,e<10&&(e="0"+e);let l=n.getDate();l<10&&(l="0"+l);let i=n.getHours();i<10&&(i="0"+i);let u=n.getMinutes();u<10&&(u="0"+u);let d=n.getSeconds();return d<10&&(d="0"+d),f+"-"+e+"-"+l+" "+i+":"+u+":"+d}function r(t){if(t===""||t===null||t===void 0)return"";let n=new Date(t),f=n.getFullYear(),e=n.getMonth();return e=e+1,e<10&&(e="0"+e),f+"-"+e}export{o as a,r as d};
