summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/miscutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/miscutil.c b/util/miscutil.c
index e31cb224f..3e382ead9 100644
--- a/util/miscutil.c
+++ b/util/miscutil.c
@@ -96,6 +96,10 @@ asctimestamp( u32 stamp )
tp = localtime( &atime );
#ifdef HAVE_STRFTIME
+ /* fixme: we should check whether the locale apppends a " %Z"
+ * These locales from glibc don't put the " %Z":
+ * fi_FI hr_HR ja_JP lt_LT lv_LV POSIX ru_RU ru_SU sv_FI sv_SE zh_CN
+ */
strftime( buffer, DIM(buffer)-1, "%c %Z", tp );
buffer[DIM(buffer)-1] = 0;
#else