diff options
Diffstat (limited to 'src/utils/urlParser.ts')
-rw-r--r-- | src/utils/urlParser.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/urlParser.ts b/src/utils/urlParser.ts index 209c7c51..24f444ba 100644 --- a/src/utils/urlParser.ts +++ b/src/utils/urlParser.ts @@ -22,5 +22,7 @@ export function urlTimeToSeconds(time: string): number { return hours * 3600 + minutes * 60 + seconds; } else if (/\d+/.test(time)) { return parseInt(time, 10); + } else { + return 0; } }
\ No newline at end of file |