Merge pull request #2096 from 94m3k1n9/fix-time-formats

Change timestamps to use ISO8601 formatting
This commit is contained in:
Pieter Wuille
2012-12-13 14:39:57 -08:00
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