const e=(e,t)=>{let n=new Date(e),r=new Date;return n.toLocaleDateString(`en-US`,{day:`numeric`,month:`long`,...n.getUTCFullYear()===r.getUTCFullYear()?{}:{year:`numeric`},...t})};export{e as t};
//# sourceMappingURL=format-date-smart-DpagPhcu.mjs.map