添加 时间单位 天

This commit is contained in:
sunheyi 2023-02-04 16:41:43 +08:00
parent c2790cfab0
commit 7c07986f99
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ document.addEventListener('DOMContentLoaded', function () {
s2 = new Date();
var days = s2.getTime() - s1.getTime();
var number_of_days = parseInt(days / (1000 * 60 * 60 * 24));
$runtimeCount.innerText =number_of_days;
$runtimeCount.innerText =number_of_days+"天";
}
}
}