mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
@@ -67,7 +67,9 @@ export class Timer {
|
||||
// helpers
|
||||
static toSeconds(millis) {
|
||||
if (millis == null) return null;
|
||||
return Math.floor(Math.max(millis * 0.001), 0);
|
||||
|
||||
return Math.ceil(millis * 0.001);
|
||||
|
||||
}
|
||||
|
||||
// get current time in epoc
|
||||
|
||||
Reference in New Issue
Block a user