From d30fc5d165c0fedb4929b95e7ff4eb3267939cfb Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Thu, 25 Jul 2024 00:23:02 +0200 Subject: [PATCH] Fix lint issues --- public/scripts/RossAscends-mods.js | 2 +- public/scripts/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index 0f37650c4..2cfeb1f6b 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -161,7 +161,7 @@ export function humanizedDateTime() { const dt = { year: now.getFullYear(), month: now.getMonth() + 1, day: now.getDate(), hour: now.getHours(), minute: now.getMinutes(), second: now.getSeconds(), - } + }; for (const key in dt) { dt[key] = dt[key].toString().padStart(2, '0'); } diff --git a/public/scripts/utils.js b/public/scripts/utils.js index 8a214eefb..a4167ffde 100644 --- a/public/scripts/utils.js +++ b/public/scripts/utils.js @@ -756,7 +756,7 @@ function parseTimestamp(timestamp) { let iso8601; for (const x of dtFmt) { - let rgxMatch = timestamp.match(x.pattern) + let rgxMatch = timestamp.match(x.pattern); if (!rgxMatch) continue; iso8601 = x.callback(...rgxMatch); break;