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);