Skip to content

Commit

Permalink
fix: 文章信息头日期格式统一
Browse files Browse the repository at this point in the history
  • Loading branch information
LooseLi committed Jul 25, 2023
1 parent a110f17 commit 775afc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/hexo/components/PostHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function PostHeader({ post, siteInfo }) {
passHref
className="pl-1 mr-2 cursor-pointer hover:underline">

{locale.COMMON.POST_TIME}:{post?.publishTime}
{locale.COMMON.POST_TIME}: {post?.publishTime}

</Link>
</>
Expand Down
4 changes: 2 additions & 2 deletions themes/matery/components/ArticleInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const ArticleInfo = (props) => {
passHref
className="cursor-pointer whitespace-nowrap">

<i className='far fa-calendar-minus fa-fw'/> {locale.COMMON.POST_TIME}:{post?.publishTime}
<i className='far fa-calendar-minus fa-fw'/> {locale.COMMON.POST_TIME}: {post?.publishTime}

</Link>
<span className='whitespace-nowrap'>
<i className='far fa-calendar-check fa-fw' />{locale.COMMON.LAST_EDITED_TIME}:{post.lastEditedTime}
<i className='far fa-calendar-check fa-fw' />{locale.COMMON.LAST_EDITED_TIME}: {post.lastEditedTime}
</span>
<span className="hidden busuanzi_container_page_pv font-light mr-2">
<i className='mr-1 fas fa-eye' /><span className="busuanzi_value_page_pv" />
Expand Down

0 comments on commit 775afc0

Please sign in to comment.