From 96f94713d7e6cd3d2ea30586aa705b5d1f64cedb Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Tue, 13 Sep 2022 14:22:58 +0200 Subject: [PATCH] Temp commit working on #28 --- util/timer/parseTime.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/util/timer/parseTime.js b/util/timer/parseTime.js index d759b45..bae30eb 100644 --- a/util/timer/parseTime.js +++ b/util/timer/parseTime.js @@ -19,6 +19,17 @@ module.exports = function(time, currentUnixTime){ break; default: timeInSeconds = NaN; + if(time.includes(':')) + timeInSeconds = getTime(time, currentUnixTime); } return timeInSeconds; } + + + +function getTime(time, currentUnixTime) { + + + + return timeInSeconds; +}