projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove warnings (work package 1)
[anna.git]
/
source
/
core
/
functions.cpp
diff --git
a/source/core/functions.cpp
b/source/core/functions.cpp
index
217fd0a
..
8752a2e
100644
(file)
--- a/
source/core/functions.cpp
+++ b/
source/core/functions.cpp
@@
-151,7
+151,7
@@
const char* functions::asDateTime(const Second &second, char* result)
throw() {
struct tm* tt = localtime((time_t*) & second);
sprintf(
- result, "%02
d/%02d/%4d %02d:%02d:%02d
",
+ result, "%02
u/%02u/%4u %02u:%02u:%02u
",
tt->tm_mday, tt->tm_mon + 1, tt->tm_year + 1900,
tt->tm_hour, tt->tm_min, tt->tm_sec
);