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

This commit is contained in:
floty committed 2012-12-29 17:19:17 +01:00
1 parent 8eef628f6f
commit dcf318244e
3 files changed
+18 -3

No files matched your search

+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);