From 4514b45ab843ffa78b7511826d125dc3da016924 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 19 Feb 2021 12:26:39 +0100 Subject: [PATCH] Cleaned up code so it looks a bit better even though it still looks like shit lol --- util/creationJoinDates.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/util/creationJoinDates.js b/util/creationJoinDates.js index f1c4edb..5c35ce2 100644 --- a/util/creationJoinDates.js +++ b/util/creationJoinDates.js @@ -1,10 +1,5 @@ module.exports = function (user) { - let creationMonth; - let creationDate; - let creationHours; - let creationMinutes; - let creationSeconds; - console.log(user.joinedAt) + let creationMonth, creationDate, creationHours, creationMinutes, creationSeconds; if (user.createdAt.getUTCMonth().toString().length === 1) creationMonth = "0" + user.createdAt.getUTCMonth()