mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 07:26:45 +00:00
调整文章日期显示
This commit is contained in:
@@ -12,7 +12,7 @@ const BlogPost = ({ post }) => {
|
||||
{post.title}
|
||||
</h2>
|
||||
<time className="flex-shrink-0 text-gray-600 dark:text-gray-400">
|
||||
{formatDate(post?.date?.start_date || post.createdTime, BLOG.LANG)}
|
||||
{formatDate(post?.publishTime || post.createdTime, BLOG.LANG)}
|
||||
</time>
|
||||
</header>
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user