fixed time log

This commit is contained in:
Anonymous275
2020-02-06 17:40:07 +02:00
parent c47e8783e6
commit 4503338378
3 changed files with 3 additions and 6 deletions

View File

@@ -36,9 +36,9 @@ stringstream getDate() {
int month = 1 + ltm->tm_mon;
int day = ltm->tm_mday;
int hours = 1 + ltm->tm_hour;
int minutes = 1 + ltm->tm_min;
int seconds = 1 + ltm->tm_sec;
int hours = ltm->tm_hour;
int minutes = ltm->tm_min;
int seconds = ltm->tm_sec;
string month_string;
if (month < 10) month_string = "0" + to_string(month);