From 76cef270142061e8b345d38d4092657f9168f153 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sat, 15 Jul 2023 13:34:26 -0400 Subject: [PATCH] Remove needless utf8 conversion due to sleepyness --- common/string_utils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/string_utils.cpp b/common/string_utils.cpp index 6934321fa7..60585f1407 100644 --- a/common/string_utils.cpp +++ b/common/string_utils.cpp @@ -663,8 +663,7 @@ char* GetLine( FILE* File, char* Line, int* LineNum, int SizeLine ) wxString GetISO8601CurrentDateTime() { - std::string str = fmt::format( "{:%FT%T%z}", fmt::localtime( std::time( nullptr ) ) ); - return FROM_UTF8( str.c_str() ); + return fmt::format( "{:%FT%T%z}", fmt::localtime( std::time( nullptr ) ) ); }