From 109e2b3b5fd87c6a1814dbcac6a2f8839ab856a5 Mon Sep 17 00:00:00 2001 From: Esther Dalhuisen Date: Fri, 7 Feb 2025 13:54:15 +0100 Subject: [PATCH] Change output format for milliseconds in timestamps to 3 zeroes Fixes #102527 --- editor/debugger/script_editor_debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index 1363fca3c2c..c4242f7dff6 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -543,7 +543,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, uint64_t p_thread time_vals.push_back(oe.sec); time_vals.push_back(oe.msec); bool e; - String time = String("%d:%02d:%02d:%04d").sprintf(time_vals, &e); + String time = String("%d:%02d:%02d:%03d").sprintf(time_vals, &e); // Rest of the error data. bool source_is_project_file = oe.source_file.begins_with("res://");