diff options
-rw-r--r-- | implementation/logger/src/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/implementation/logger/src/message.cpp b/implementation/logger/src/message.cpp index 3363416..6787452 100644 --- a/implementation/logger/src/message.cpp +++ b/implementation/logger/src/message.cpp @@ -82,7 +82,7 @@ message::~message() { #ifndef ANDROID std::cout << std::dec << std::setw(4) << its_time->tm_year + 1900 << "-" - << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mon << "-" + << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mon + 1 << "-" << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mday << " " << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_hour << ":" << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_min << ":" @@ -124,7 +124,7 @@ message::~message() { if (its_logfile.is_open()) { its_logfile << std::dec << std::setw(4) << its_time->tm_year + 1900 << "-" - << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mon << "-" + << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mon + 1 << "-" << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_mday << " " << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_hour << ":" << std::dec << std::setw(2) << std::setfill('0') << its_time->tm_min << ":" |