From 538abfa46fc7fed2c342eb28fc0f32042c459d95 Mon Sep 17 00:00:00 2001 From: ZhangKaiXin Date: Wed, 14 Feb 2024 16:01:17 +0800 Subject: [PATCH] Update TgBlog.vue --- src/views/TgBlog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/TgBlog.vue b/src/views/TgBlog.vue index da2be41..f4d5e51 100644 --- a/src/views/TgBlog.vue +++ b/src/views/TgBlog.vue @@ -255,7 +255,7 @@ export default class TgBlog extends Vue { if (this.postsData) this.posts = this.postsData else this.posts = await (await fetch(this.purl)).json() - this.posts.forEach(it => it.date = moment(it.date).format('YYYY-MM-DD h:mm')) + this.posts.forEach(it => it.date = moment(it.date).format('YYYY-MM-DD H:mm')) this.posts.reverse() this.posts = this.posts.filter(it => it.type !== 'service') this.count = Math.min(this.count, this.posts.length)