From f7a0047391444b3a28d3f2e89412eabc64b0e241 Mon Sep 17 00:00:00 2001 From: Tony <1414927+zfbTony@users.noreply.github.com> Date: Sat, 24 Oct 2020 20:34:03 -0400 Subject: [PATCH] Fixed date order to be YYYY/MM/DD --- Engine/source/console/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/console.cpp b/Engine/source/console/console.cpp index 8916699ba..e0b4dce2a 100644 --- a/Engine/source/console/console.cpp +++ b/Engine/source/console/console.cpp @@ -621,7 +621,7 @@ static void _printf(ConsoleLogEntry::Level level, ConsoleLogEntry::Type type, co { Platform::LocalTime lt; Platform::getLocalTime(lt); - offset += dSprintf(buffer + offset, sizeof(buffer) - offset, "[%d/%d/%d %02d:%02d:%02d]", lt.monthday, lt.month + 1, lt.year + 1900, lt.hour, lt.min, lt.sec); + offset += dSprintf(buffer + offset, sizeof(buffer) - offset, "[%d/%d/%d %02d:%02d:%02d]", lt.year + 1900, lt.month + 1, lt.monthday, lt.hour, lt.min, lt.sec); } if (useTimestamp)