add skip inactive switch and use rrweb timer to display current time
This commit is contained in:
@@ -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)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user