Remove needless utf8 conversion due to sleepyness

This commit is contained in:
Marek Roszko 2023-07-15 13:34:26 -04:00
parent 581cbfc112
commit 76cef27014
1 changed files with 1 additions and 2 deletions

View File

@ -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 ) ) );
}