rename log file name without dots in time description (fixing #165)

This commit is contained in:
floty
2012-12-29 17:19:17 +01:00
parent 8eef628f6f
commit dcf318244e
3 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ Log::init()
char curTime[9];
time_t now = time(NULL);
tm *z = localtime(&now);
strftime(curDateTime,20,"%Y-%m-%d_%H.%M.%S",z);
strftime(curDateTime,20,"%Y-%m-%d_%H%M%S",z);
strftime(curDate,11,"%Y-%m-%d",z);
strftime(curTime,9,"%H:%M:%S",z);