From 7a52be893e1fe56f460c94510073ce24bc7e08cc Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 16 Apr 2024 18:59:25 +0800 Subject: [PATCH] run time update --- public/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/index.html b/public/index.html index a739697..8ad8fc8 100644 --- a/public/index.html +++ b/public/index.html @@ -120,6 +120,8 @@ str = Math.floor(secs/86400) + '天'; }else if (secs > 3600) { str = Math.floor(secs/3600) + '小时'; + }else if (secs > 300) { + str = Math.floor(secs/60) + '分钟'; }else if (secs > 86400*365) { str = Math.floor(secs/86400/365) + '年' + Math.floor( (secs - Math.floor(secs/86400/365)) / 86400 ) + '天';