Skip to content

Commit

Permalink
added last release date display to github source
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGreenwood committed Jan 8, 2025
1 parent 05b5e61 commit 8e2f2d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/src/components/opportunities/OpportunitySources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ export function OpportunitySources({ opportunity }: OpportunityDrawerProps) {
</p>
</>
)}
{repo && repo.lastReleasePublishedAt && (
<>
<p className="flex text-xs text-muted-foreground text-zinc-500 dark:text-zinc-400">
Last release date{" "}
{timeAgo(new Date(repo.lastReleasePublishedAt))}{" "}
</p>
</>
)}
</div>
</div>
</div>
Expand Down

0 comments on commit 8e2f2d6

Please sign in to comment.