From 37a444b4db0287d62fd2cb3092b336da2790d313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20V=C3=A1squez=20P=C3=A9rez?= Date: Tue, 20 Jul 2021 19:02:15 -0700 Subject: [PATCH] Removed some whitespace, and debugging the date issue. --- wc_helper.jsx | 70 +++++++++++++++++++-------------------------------- 1 file changed, 26 insertions(+), 44 deletions(-) diff --git a/wc_helper.jsx b/wc_helper.jsx index efb62ae..066a170 100644 --- a/wc_helper.jsx +++ b/wc_helper.jsx @@ -76,20 +76,18 @@ } /* General functions */ - function pad(n,i){ //pad n with ceroes up to i places. - if (String(n).length>=i){ - return String(n) - }else{ - dif = i- (String(n)).length; - padding = ""; - for (p=0;p=i){ + return String(n) + }else{ + dif = i- (String(n)).length; + padding = ""; + for (p=0;p