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 ) + '天';