projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690c35c
)
* this doesn't look smart, but the CPP doesn't offer a better way: we need to have...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 11 May 2008 20:21:07 +0000
(20:21 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 11 May 2008 20:21:07 +0000
(20:21 +0000)
webcit/fmt_date.c
patch
|
blob
|
history
diff --git
a/webcit/fmt_date.c
b/webcit/fmt_date.c
index 9adb0c63efbdef57720c316fdbfb346790b35c24..05b9900fdc051e2f94c6742ce4657a19d1a9495d 100644
(file)
--- a/
webcit/fmt_date.c
+++ b/
webcit/fmt_date.c
@@
-30,6
+30,8
@@
size_t wc_strftime(char *s, size_t max, const char *format, const struct tm *tm)
else { // TODO: this gives empty strings on debian.
return strftime_l(s, max, format, tm, wc_locales[WC->selected_language]);
}
+#else
+ return strftime(s, max, format, tm);
#endif
#else
return strftime(s, max, format, tm);