From 73ece75f86fd582a5e4c4c4dbd7284fe5cbc7c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=B8=85?= Date: Wed, 9 Oct 2019 09:45:19 +0800 Subject: [PATCH] fix:fix the article time is accurate to seconds --- components/HomeBlog.vue | 32 ++++++++++++++++---------------- components/PageInfo.vue | 26 ++++++++++++++++++++++++-- util/formatDate.js | 21 +++++++++++++++++++++ 3 files changed, 61 insertions(+), 18 deletions(-) create mode 100644 util/formatDate.js diff --git a/components/HomeBlog.vue b/components/HomeBlog.vue index 6476afa..7447015 100644 --- a/components/HomeBlog.vue +++ b/components/HomeBlog.vue @@ -1,6 +1,6 @@