diff --git a/src/TConsole.cpp b/src/TConsole.cpp index 92c64a9..6affb24 100644 --- a/src/TConsole.cpp +++ b/src/TConsole.cpp @@ -311,7 +311,7 @@ void TConsole::Command_Debug(const std::string&, const std::vector& auto Now = std::chrono::high_resolution_clock::now(); auto Seconds = std::chrono::duration_cast(Now - Locked->ConnectionTime); std::string ConnectedSince = fmt::format("{:%Y/%m/%d %H:%M:%S}, {:%H:%M:%S} ago ({} seconds)", - fmt::localtime(std::chrono::high_resolution_clock::to_time_t(Locked->ConnectionTime)), + fmt::localtime(std::chrono::system_clock::to_time_t(Locked->ConnectionTime)), Seconds, Seconds.count()); Application::Console().WriteRaw(fmt::format(