pull/4791/head
Your Name 6 months ago
parent 57cfec6516
commit b6438d0623
  1. 8
      libs/remix-ui/git/src/components/panels/commits/commitsummary.tsx

@ -28,10 +28,10 @@ export const CommitSummary = (props: CommitSummaryProps) => {
return "today at " + dateFormat(timestamp * 1000, "HH:MM"); return "today at " + dateFormat(timestamp * 1000, "HH:MM");
} else } else
if (diff < 1) { if (diff < 1) {
// return how many hours ago // return how many hours ago
return `${Math.floor(diff * 24)} hour(s) ago`; return `${Math.floor(diff * 24)} hour(s) ago`;
} }
if (diff < 7) { if (diff < 7) {
// return how many days ago // return how many days ago

Loading…
Cancel
Save