mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 15:59:18 +02:00
copydata communication fix, update loop tweaks
This commit is contained in:
@@ -75,10 +75,8 @@ std::string Now() {
|
||||
std::time_t timenow = std::time( nullptr );
|
||||
std::tm tm = *std::localtime( &timenow );
|
||||
std::stringstream converter;
|
||||
std::string output;
|
||||
converter << std::put_time( &tm, "%c" );
|
||||
converter >> output;
|
||||
return output;
|
||||
return converter.str();
|
||||
|
||||
/* char buffer[ 256 ];
|
||||
sprintf( buffer,
|
||||
|
||||
Reference in New Issue
Block a user