import{hY as n,c1 as M}from"./index-Cox3ZWL0.js";const t=(r,d,o)=>{if(n(r))return"today";if(d&&o.fromDate){if(+r==+o.fromDate)return M(r,"dd MMM. y");if(r.getHours()===0&&r.getMinutes()===0)return M(r,"dd MMM. y")}if(o.toDate){if(+r==+o.toDate)return M(r,"dd MMM. y");if(r.getHours()===23&&r.getMinutes()===30)return M(r,"dd MMM. y")}return M(r,"dd MMM. y H:mm a")};export{t as g};
