Use toLocaleString

This commit is contained in:
Sefinek committed 2025-05-12 01:16:52 +02:00
1 parent 42469d230d
commit da05323756
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ const reportIp = async ({ srcIp, dpt = 'N/A', proto = 'N/A', id, timestamp }, ca
ABUSE_STATE.sentBulk = false;
LAST_RATELIMIT_LOG = Date.now();
RATELIMIT_RESET = nextRateLimitReset();
log(`Daily AbuseIPDB limit reached. Buffering reports until ${RATELIMIT_RESET.toISOString()}`, 0, true);
log(`Daily AbuseIPDB limit reached. Buffering reports until ${RATELIMIT_RESET.toLocaleString()}`, 0, true);
}
if (BULK_REPORT_BUFFER.has(srcIp)) {