refactor: show delayed times

This commit is contained in:
Carlos Valente
2024-12-22 19:57:43 +01:00
committed by Carlos Valente
parent bdd2a62cee
commit 7f39d035fd
6 changed files with 37 additions and 35 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ import { formatFromMillis, MILLIS_PER_HOUR, MILLIS_PER_MINUTE } from 'ontime-uti
/**
* Parses a value in millis to a string which encodes a delay
* @param millis
* @param format
* @param millis
* @param format
*/
export function millisToDelayString(millis: MaybeNumber, format: 'compact' | 'expanded' = 'compact'): string {
if (millis == null || millis === 0) {