Change timestamps to use ISO8601 formatting

This commit is contained in:
Richard Schwab
2012-12-12 16:32:22 +01:00
parent 622da5df6e
commit 303b0009dc
5 changed files with 12 additions and 12 deletions

View File

@@ -240,7 +240,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
// Debug print useful for profiling
if (fLogTimestamps && fStartedNewLine)
fprintf(fileout, "%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
fprintf(fileout, "%s ", DateTimeStrFormat("%Y-%m-%dT%H:%M:%S", GetTime()).c_str());
if (pszFormat[strlen(pszFormat) - 1] == '\n')
fStartedNewLine = true;
else