From 1cd07c5525a930bc38c00c8a2150ea46c94e2b35 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 29 十一月 2021 14:06:14 +0800 Subject: [PATCH] fixed#131195: 預約時間格式錯誤 --- PAMapp/plugins/filters/date.filter.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/plugins/filters/date.filter.ts b/PAMapp/plugins/filters/date.filter.ts index 9a15a4e..069a7af 100644 --- a/PAMapp/plugins/filters/date.filter.ts +++ b/PAMapp/plugins/filters/date.filter.ts @@ -24,7 +24,7 @@ return compareDate.getFullYear() === today.getFullYear(); }; - const minutes = date.getMinutes() > 10 ? date.getMinutes() : `0${date.getMinutes()}`; + const minutes = date.getMinutes() > 9 ? date.getMinutes() : `0${date.getMinutes()}`; if (isThisYear(date)) { return isToday(date) -- Gitblit v1.8.0