diff --git a/src/game/client/components/hud.cpp b/src/game/client/components/hud.cpp index 1df63e789..35d4d545b 100644 --- a/src/game/client/components/hud.cpp +++ b/src/game/client/components/hud.cpp @@ -3278,7 +3278,7 @@ CUIRect CHud::GetLocalTimeRect(bool ForcePreview) const const bool Seconds = g_Config.m_TcShowLocalTimeSeconds; // TClient char aTimeStr[16]; - str_timestamp_format(aTimeStr, sizeof(aTimeStr), Seconds ? "%H:%M.%S" : "%H:%M"); + str_timestamp_format(aTimeStr, sizeof(aTimeStr), Seconds ? "%H:%M:%S" : "%H:%M"); const float FontSize = 5.0f * Scale; const float Padding = 5.0f * Scale; const float Width = std::round(TextRender()->TextBoundingBox(FontSize, aTimeStr).m_W); @@ -3312,7 +3312,7 @@ void CHud::RenderLocalTime(bool ForcePreview) const bool Seconds = g_Config.m_TcShowLocalTimeSeconds; // TClient char aTimeStr[16]; - str_timestamp_format(aTimeStr, sizeof(aTimeStr), Seconds ? "%H:%M.%S" : "%H:%M"); + str_timestamp_format(aTimeStr, sizeof(aTimeStr), Seconds ? "%H:%M:%S" : "%H:%M"); const float FontSize = 5.0f * Scale; const float Padding = 5.0f * Scale; const float RectX = Rect.x;