From 024b8f41b821b9b0e27f66759ce7d0c9205e5071 Mon Sep 17 00:00:00 2001 From: Oscar Date: Mon, 1 Jun 2026 11:04:57 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix(logger):=20=D0=98=D0=B7?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B0=20=D1=84=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20timestamp=20=D0=B4=D0=BB=D1=8F=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=B4=D0=BD=D0=B5=D0=B9=20=D0=B8=20=D0=BC=D0=B5=D1=81=D1=8F?= =?UTF-8?q?=D1=86=D0=B5=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/logger.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/logger.ts b/src/logger.ts index e2e99fb..4997cdd 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -26,11 +26,11 @@ type Level = keyof typeof LEVELS function timestamp(): string { const now = new Date() + const dd = String(now.getDate()).padStart(2, '0') + const mo = String(now.getMonth() + 1).padStart(2, '0') const hh = String(now.getHours()).padStart(2, '0') const mm = String(now.getMinutes()).padStart(2, '0') - const ss = String(now.getSeconds()).padStart(2, '0') - const ms = String(now.getMilliseconds()).padStart(3, '0') - return `${DIM}${colors.gray}${hh}:${mm}:${ss}.${ms}${RESET}` + return `${DIM}${colors.gray}${dd}.${mo} ${hh}:${mm}${RESET}` } function formatTag(tag: string): string {