Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
tarao committed Sep 18, 2010
1 parent ac5bdaf commit c322c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmwnd/common/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ template<typename CHAR> class logger {
using namespace std;
tm* tm = gettime();
fout << setfill('0') << setw(4) << tm->tm_year+1900 << "-"
<< setfill('0') << setw(2) << tm->tm_mon << "-"
<< setfill('0') << setw(2) << tm->tm_mon+1 << "-"
<< setfill('0') << setw(2) << tm->tm_mday << "T"
<< setfill('0') << setw(2) << tm->tm_hour << ":"
<< setfill('0') << setw(2) << tm->tm_min << ":"
Expand All @@ -77,7 +77,7 @@ template<typename CHAR> class logger {
using namespace std;
tm* tm = gettime();
fout << setfill(L'0') << setw(4) << tm->tm_year+1900 << L"-"
<< setfill(L'0') << setw(2) << tm->tm_mon << L"-"
<< setfill(L'0') << setw(2) << tm->tm_mon+1 << L"-"
<< setfill(L'0') << setw(2) << tm->tm_mday << L"T"
<< setfill(L'0') << setw(2) << tm->tm_hour << L":"
<< setfill(L'0') << setw(2) << tm->tm_min << L":"
Expand Down

0 comments on commit c322c7c

Please sign in to comment.