(Time2string): print hour as hour not min

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19273 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-12-07 16:34:53 +00:00
parent 801dd6cd8a
commit 6621f45c1f

View File

@@ -58,7 +58,7 @@ Time2string(const Time *T, char **str)
s = malloc(30); s = malloc(30);
if (s == NULL) if (s == NULL)
return ENOMEM; return ENOMEM;
strftime(s, 30, "%Y-%m-%d %M:%M:%S", tm); strftime(s, 30, "%Y-%m-%d %H:%M:%S", tm);
*str = s; *str = s;
return 0; return 0;
} }