16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 13:59:19 +02:00
This commit is contained in:
VB
2017-03-05 22:34:10 +01:00
7 changed files with 104 additions and 65 deletions

View File

@@ -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,