summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-12-08 13:20:53 +0100
committerWerner Koch <wk@gnupg.org>1998-12-08 13:20:53 +0100
commitab986970ebce96ad5e9df305ce2413d9d6c613e2 (patch)
tree99409ab6f191101d7b57129d6a7fed321f7d0589 /util
parentSee ChangeLog: Fri Nov 27 21:37:41 CET 1998 Werner Koch (diff)
downloadgnupg2-ab986970ebce96ad5e9df305ce2413d9d6c613e2.tar.xz
gnupg2-ab986970ebce96ad5e9df305ce2413d9d6c613e2.zip
See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner Koch
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