mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-29 15:10:06 +00:00
fix date
This commit is contained in:
@@ -20,7 +20,7 @@ export const LayoutSlug = props => {
|
||||
const { locale } = useGlobal()
|
||||
|
||||
const date = formatDate(
|
||||
post?.publishTime || post?.createdTime,
|
||||
post?.publishTime,
|
||||
locale.LOCALE
|
||||
)
|
||||
if (!post) {
|
||||
|
||||
Reference in New Issue
Block a user