(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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user