aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-12-13 14:39:57 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2012-12-13 14:39:57 -0800
commit33766c9557586c508d4239126a61a4b3b460ce1d (patch)
treebce94b8e0839cf4e2dca8a68d231d4be82a10d57 /src/util.cpp
parent07c3f846c260020aa07af92d28f384509d79a086 (diff)
parent303b0009dc4ef3dbe4d9caabfe94798ee51579d4 (diff)
Merge pull request #2096 from 94m3k1n9/fix-time-formats
Change timestamps to use ISO8601 formatting
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 3cbc6b196b..806f3ebcf6 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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