import{d as a}from"./dayjs.min-Bw3Ggxpu.js";const m=r=>{const t={d:"DD",j:"D",M:"MMM",m:"MM",Y:"YYYY",y:"YY"};return r.replace(/[dMjmyY]/g,o=>t[o]||o)},Y=(r,t="d-m-Y")=>{if(!r)return"";const o=m(t);return a(r).format(o)};export{Y as f};
