const e=e=>{let t=new Date,n=t.getDate(),r=t.getMonth(),i=t.getFullYear();if(n>=e)return{firstDay:new Date(i,r,e),lastDay:new Date(i,r+1,e-1)};{let t=r===0?i-1:i,n=r===0?11:r-1;return{firstDay:new Date(t,n,e),lastDay:new Date(i,r,e-1)}}};export{e as t};
//# sourceMappingURL=get-first-and-last-day-DtD3kURS.mjs.map