Explorar o código

Merge pull request #34063 from Calinou/tweak-error-timestamp-formatting

Tweak error timestamp formatting to be more readable
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
055d7ace54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/script_editor_debugger.cpp

+ 1 - 1
editor/script_editor_debugger.cpp

@@ -846,7 +846,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
 		time_vals.push_back(err[2]);
 		time_vals.push_back(err[2]);
 		time_vals.push_back(err[3]);
 		time_vals.push_back(err[3]);
 		bool e;
 		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.
 		// Rest of the error data.
 		String method = err[4];
 		String method = err[4];