add skip inactive switch and use rrweb timer to display current time

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent c34d9523b5
commit 357d18c0dd
5 changed files with 123 additions and 15 deletions

View File

@@ -27,7 +27,7 @@ export function formatTime(ms) {
ms = ms % MINUTE;
const second = Math.round(ms / SECOND);
if (hour) {
return `${padZero(hour)}:${padZero(minute)}:${padZero(minute)}`;
return `${padZero(hour)}:${padZero(minute)}:${padZero(second)}`;
}
return `${padZero(minute)}:${padZero(second)}`;
}