forked from markus/S_New4
v4.0.1: fix Wrong pos of 0 at log time: unter 10 zero before double point
This commit is contained in:
parent
8f66fccd26
commit
4115d786f9
@ -26,8 +26,8 @@ int Logger::logCommandLine(std::string logText)
|
|||||||
std::string date((tm_now->tm_mday < 10 ? "0" : "") + std::to_string(tm_now->tm_mday) + "." +
|
std::string date((tm_now->tm_mday < 10 ? "0" : "") + std::to_string(tm_now->tm_mday) + "." +
|
||||||
(tm_now->tm_mon +1 < 10 ? "0" : "" ) + std::to_string(tm_now->tm_mon +1) + "." +
|
(tm_now->tm_mon +1 < 10 ? "0" : "" ) + std::to_string(tm_now->tm_mon +1) + "." +
|
||||||
std::to_string(1900 + tm_now->tm_year) + " - " +
|
std::to_string(1900 + tm_now->tm_year) + " - " +
|
||||||
(tm_now->tm_hour < 10 ? "0" : "" ) + std::to_string(tm_now->tm_hour) +
|
(tm_now->tm_hour < 10 ? "0" : "" ) + std::to_string(tm_now->tm_hour) + ":" +
|
||||||
(tm_now->tm_min < 10 ? "0" : "" ) + ":" + std::to_string(tm_now->tm_min));
|
(tm_now->tm_min < 10 ? "0" : "" ) + std::to_string(tm_now->tm_min));
|
||||||
return writetoFile( " -> " + date + ": \"" + logText + "\"");
|
return writetoFile( " -> " + date + ": \"" + logText + "\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -366,7 +366,7 @@ int unterOption_help(Settings &settings)
|
|||||||
<< "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl
|
<< "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl
|
||||||
<< "\t\"--update\"\tModus um das Programm zu aktualisieren." << std::endl
|
<< "\t\"--update\"\tModus um das Programm zu aktualisieren." << std::endl
|
||||||
<< "\t \tUpdater funktioniert nur bei: Windows/Linux -" << std::endl
|
<< "\t \tUpdater funktioniert nur bei: Windows/Linux -" << std::endl
|
||||||
<< "\t \tx86 Architekutur - 64 Bit Systemen." << std::endl
|
<< "\t \tx86 Architekutur - 64 Bit Systemen und ARM v6 Syst." << std::endl
|
||||||
<< "\t\"--remove\"\tModus um Ordner mit Einstellungen/" << std::endl
|
<< "\t\"--remove\"\tModus um Ordner mit Einstellungen/" << std::endl
|
||||||
<< "\t \tZwischengespeicherte-Dateien zu löschen." << std::endl
|
<< "\t \tZwischengespeicherte-Dateien zu löschen." << std::endl
|
||||||
<< "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
<< "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
||||||
|
@ -91,7 +91,7 @@ struct Settings {
|
|||||||
proxy_ip = "127.0.0.1",
|
proxy_ip = "127.0.0.1",
|
||||||
languages = "GerDub,GerSub,Eng,",
|
languages = "GerDub,GerSub,Eng,",
|
||||||
genaueHoster = "",
|
genaueHoster = "",
|
||||||
version = "4.0.0",
|
version = "4.0.1",
|
||||||
defaultFileVersion="1.8",
|
defaultFileVersion="1.8",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
default_Searchmuster = "S%Staffel%E%Folge%";
|
default_Searchmuster = "S%Staffel%E%Folge%";
|
||||||
|
Loading…
Reference in New Issue
Block a user