From 79274da1ff7f8d0fbcf6d97c5ea5dd8094cca2a5 Mon Sep 17 00:00:00 2001 From: argirok Date: Tue, 9 Jan 2024 18:24:48 +0200 Subject: [PATCH] server.ts - public logs: minor correction in recorded logs text --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index afc2b7f..7420857 100644 --- a/server.ts +++ b/server.ts @@ -108,7 +108,7 @@ function getFileName(year, month){ return 'actions' + (year && month ? "_" + year + "_" + month : "")+".log"; } function formatPrettyLog(log){ - return "On " + (log.date ? formatDateAndTime(log.date) : "") + " " /*+ logs[i].action + " "*/ + log.message + "
"; + return "On " + (log.date ? formatDateAndTime(log.date) : "") + " " /*+ logs[i].action + " "*/ + log.message; } function formatDateAndTime(dateStr){ let date = new Date(dateStr);