diff --git a/ui/console-src/modules/contents/pages/DeletedSinglePageList.vue b/ui/console-src/modules/contents/pages/DeletedSinglePageList.vue index 2c62e865e..85ce24d89 100644 --- a/ui/console-src/modules/contents/pages/DeletedSinglePageList.vue +++ b/ui/console-src/modules/contents/pages/DeletedSinglePageList.vue @@ -1,6 +1,6 @@ + + diff --git a/ui/src/locales/en.yaml b/ui/src/locales/en.yaml index f9517825b..cb2ae898e 100644 --- a/ui/src/locales/en.yaml +++ b/ui/src/locales/en.yaml @@ -66,7 +66,6 @@ core: title: Recent Posts visits: "{visits} Visits" comments: "{comments} Comments" - publishTime: Publish Time {publishTime} notification: title: Notifications empty: diff --git a/ui/src/locales/zh-CN.yaml b/ui/src/locales/zh-CN.yaml index 6ddc2a192..6f8c5bc6e 100644 --- a/ui/src/locales/zh-CN.yaml +++ b/ui/src/locales/zh-CN.yaml @@ -64,7 +64,6 @@ core: title: 最近文章 visits: 访问量 {visits} comments: 评论 {comments} - publishTime: 发布日期 {publishTime} notification: title: 通知 empty: diff --git a/ui/src/locales/zh-TW.yaml b/ui/src/locales/zh-TW.yaml index be3312ff8..1f8d9c768 100644 --- a/ui/src/locales/zh-TW.yaml +++ b/ui/src/locales/zh-TW.yaml @@ -64,7 +64,6 @@ core: title: 最近文章 visits: 訪問量 {visits} comments: 留言 {comments} - publishTime: 發佈日期 {publishTime} notification: title: 通知 empty: diff --git a/ui/uc-src/modules/contents/posts/components/PostListItem.vue b/ui/uc-src/modules/contents/posts/components/PostListItem.vue index 88b074f64..95b5ad781 100644 --- a/ui/uc-src/modules/contents/posts/components/PostListItem.vue +++ b/ui/uc-src/modules/contents/posts/components/PostListItem.vue @@ -3,7 +3,7 @@ import StatusDotField from "@/components/entity-fields/StatusDotField.vue"; import HasPermission from "@/components/permission/HasPermission.vue"; import PostContributorList from "@/components/user/PostContributorList.vue"; import { postLabels } from "@/constants/labels"; -import { formatDatetime } from "@/utils/date"; +import { formatDatetime, relativeTimeTo } from "@/utils/date"; import PostTag from "@console/modules/contents/posts/tags/components/PostTag.vue"; import type { ListedPost } from "@halo-dev/api-client"; import { ucApiClient } from "@halo-dev/api-client"; @@ -238,8 +238,11 @@ function handleDelete() {