mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Merge pull request #1493 from tangly1024/fix/nobelium-date-format
nobelium 主页日期
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import Link from 'next/link'
|
||||
import BLOG from '@/blog.config'
|
||||
import formatDate from '@/lib/formatDate'
|
||||
|
||||
const BlogPost = ({ post }) => {
|
||||
return (
|
||||
@@ -12,7 +11,7 @@ const BlogPost = ({ post }) => {
|
||||
{post.title}
|
||||
</h2>
|
||||
<time className="flex-shrink-0 text-gray-600 dark:text-gray-400">
|
||||
{formatDate(post?.publishDay || post.createdTime, BLOG.LANG)}
|
||||
{post?.publishDay}
|
||||
</time>
|
||||
</header>
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user