From 9d8fc8b9205fa7a68d6dd66d0a201d61ea8e2b46 Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Tue, 28 Jun 2022 23:36:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=A1=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/Note.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/Note.js b/apps/Note.js index c686cfd..38f8fd7 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -140,10 +140,11 @@ export async function Note(e, { let remainedDate = new Date(val.remained_time); val.remained_time = format("hh:mm", remainedDate); let Time_day = await dateTime_(remainedDate) - val.remained_mb2 = Time_day + moment(remainedDate).format("hh:mm" ); if (format("dd", remainedDate) != nowDay) { + val.remained_mb2 = "明天"+Time_day + moment(remainedDate).format("hh:mm" ); val.remained_time = `明天 ${val.remained_time}`; } else { + val.remained_mb2 = "今天"+Time_day + moment(remainedDate).format("hh:mm" ); val.remained_time = ` ${val.remained_time}`; } }