From 62ba490e8f56459125ae27eb408cb43e38debcae Mon Sep 17 00:00:00 2001 From: James Date: Mon, 24 Aug 2020 18:58:02 -0500 Subject: [PATCH] Remove whitespace between number and colon in 24hr The whitespaces causes some issues in parsing the time in most cases. --- js/timepicki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/timepicki.js b/js/timepicki.js index 2be805a..d8f44e2 100644 --- a/js/timepicki.js +++ b/js/timepicki.js @@ -36,7 +36,7 @@ //mini = Math.min(Math.max(parseInt(mini), 0), 59); - return tim + ":" + mini; + return (tim + ":" + mini).replace(/ /g,''); } }, increase_direction: 'up',