Skip to content

Commit

Permalink
refine style (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
shczhen authored Jun 10, 2022
1 parent 282ac2e commit 75baaaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/doc/comp/GitCommitInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ export function GitCommitInfo({ pathConfig, title, filePath }: Props) {
rel="noreferrer">
{title}
</a>
<Trans>doc.latestCommit</Trans>
{latestCommit.commit.author.date}:
{` `}
<Trans i18nKey="doc.latestCommit" />
{` ${new Date(latestCommit.commit.author.date).toLocaleString()}: `}
<a href={latestCommit.html_url} target="_blank" rel="noreferrer">
{latestCommit.commit.message.split('\n')[0]}
</a>
Expand Down

0 comments on commit 75baaaa

Please sign in to comment.