From 0f6b32c2484a951befdea839f23645a12d281266 Mon Sep 17 00:00:00 2001 From: otavepto Date: Sat, 13 Apr 2024 11:57:49 +0200 Subject: [PATCH] language independent time/date format --- overlay_experimental/steam_overlay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index 7be2b96f..774a5c8e 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -1339,7 +1339,8 @@ void Steam_Overlay::render_main_window() if (achieved) { char buffer[80] = {}; time_t unlock_time = (time_t)x.unlock_time; - std::strftime(buffer, 80, "%Y-%m-%d at %H:%M:%S", std::localtime(&unlock_time)); + // TODO add this format to the overlay_appearance.txt + std::strftime(buffer, 80, "%Y/%m/%d - %H:%M:%S", std::localtime(&unlock_time)); ImGui::TextColored(ImVec4(0, 255, 0, 255), translationAchievedOn[current_language], buffer); } else {