Cleaned up code so it looks a bit better even though it still looks like shit lol
This commit is contained in:
parent
9687f47f21
commit
4514b45ab8
1 changed files with 1 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue