const e=(e,t)=>{let n=new Date(e),r=new Date;return n.toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,...n.getUTCFullYear()===r.getUTCFullYear()?{hour:`numeric`,minute:`numeric`,hour12:!0}:{year:`numeric`},...t})};export{e as t};
//# sourceMappingURL=format-datetime-smart-CVyK5qx-.mjs.map