import{Nt as e}from"./branding-B7dW-jsD.js";var t=e();function n({date:e}){return(0,t.jsx)(`time`,{dateTime:e,title:new Date(e).toLocaleString(),children:(e=>{let t=new Date,n=new Date(e),r=Math.floor((t.getTime()-n.getTime())/1e3);return r<60?`just now`:r<3600?`${Math.floor(r/60)}m ago`:r<86400?`${Math.floor(r/3600)}h ago`:r<604800?`${Math.floor(r/86400)}d ago`:n.toLocaleDateString()})(e)})}export{n as t};