chore: fix some minor issues in comments (#5984)

Signed-off-by: yumeiyin <yin.yumei@qq.com>
This commit is contained in:
yumeiyin
2025-07-14 16:08:53 +08:00
committed by GitHub
parent 5bbbef5305
commit d490285a44
4 changed files with 5 additions and 5 deletions

View File

@@ -582,7 +582,7 @@ class UptimeCalculator {
let totalPing = 0;
let endTimestamp;
// Get the eariest timestamp of the required period based on the type
// Get the earliest timestamp of the required period based on the type
switch (type) {
case "day":
endTimestamp = key - 86400 * (num - 1);
@@ -710,7 +710,7 @@ class UptimeCalculator {
let endTimestamp;
// Get the eariest timestamp of the required period based on the type
// Get the earliest timestamp of the required period based on the type
switch (type) {
case "day":
endTimestamp = key - 86400 * (num - 1);