const t=t=>{if(!t)return"";const e=new Date("number"==typeof t&&10===t.toString().length?1e3*t:t);return`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}`},e=t=>{if(!t)return"";const e=document.createElement("textarea");return e.innerHTML=t,e.value};export{e as d,t as f};
