Skip to content

Commit

Permalink
Merge pull request #20 from SeppahBaws/hotfix/date-format
Browse files Browse the repository at this point in the history
Fixed Hour gets logged instead of the day (#19)
  • Loading branch information
SeppahBaws authored May 27, 2021
2 parents f74e56f + 2955408 commit ce248f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logtools/src/logtools.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* LogTools // v1.1 // small and simple cross-platform logging toolset.
* LogTools // v1.1.2 // small and simple cross-platform logging toolset.
* ************ https://github.com/SeppahBaws/logtools ************
*
* -----------------------------[ LICENSE ]-----------------------------
Expand Down Expand Up @@ -264,7 +264,7 @@ class Logger
std::printf("%.4d-%.2d-%.2d",
now.tm_year + 1900,
now.tm_mon + 1,
now.tm_hour);
now.tm_mday);
}

if (m_Settings.showDate && m_Settings.showTime)
Expand Down

0 comments on commit ce248f7

Please sign in to comment.