From 7c1c64c79c817ea05f63ba439c64a6365eb9254f Mon Sep 17 00:00:00 2001 From: NOTPIES Date: Mon, 16 Mar 2026 00:26:14 -0300 Subject: [PATCH] fix logging --- Minecraft.Client/Common/Consoles_App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index 6f46dc9..2ddbd47 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -259,7 +259,7 @@ void CMinecraftApp::DebugPrintf(const char *szFormat, ...) time_t now = time(NULL); struct tm t; localtime_s(&t, &now); - printf("[%02d:%02d:%02d] [Server thread/INFO]: %s\n", t.tm_hour, t.tm_min, t.tm_sec, buf); + printf("%04d-%02d-%02d %02d:%02d:%02d [INFO] %s\n", t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min, t.tm_sec, buf); fflush(stdout); } #endif