const a = [
  "Jan",
  "Feb",
  "Mar",
  "Apr",
  "May",
  "Jun",
  "Jul",
  "Aug",
  "Sep",
  "Oct",
  "Nov",
  "Dec"
], c = (n) => {
  const o = new Date(n), r = Date.now() - o.getTime(), f = Math.floor(r / 1e3), t = Math.floor(f / 60), e = Math.floor(t / 60);
  return t < 1 ? "just now" : t < 60 ? `${t}m ago` : e < 24 ? `${e} hr${e === 1 ? "" : "s"} ago` : `${a[o.getMonth()]} ${o.getDate()}`;
};
export {
  c as formatRelativeTime
};
//# sourceMappingURL=formatRelativeTime.js.map
