aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-03-14 20:41:20 +0000
committerWerner Koch <[email protected]>2005-03-14 20:41:20 +0000
commita177090f378cef71f363ef0e56c3913763cc6d5f (patch)
tree17034b7dfe2021e728fe8e5491648058cf41ecdc /include/util.h
parent* cardglue.c (pin_cb): Disable debug output. (diff)
downloadgnupg-a177090f378cef71f363ef0e56c3913763cc6d5f.tar.gz
gnupg-a177090f378cef71f363ef0e56c3913763cc6d5f.zip
* card-util.c (card_status): Use isotimestamp and not the
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
Diffstat (limited to '')
-rw-r--r--include/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index ba493b1be..c6e89e713 100644
--- a/include/util.h
+++ b/include/util.h
@@ -152,6 +152,7 @@ u32 scan_isodatestr( const char *string );
u32 add_days_to_timestamp( u32 stamp, u16 days );
const char *strtimevalue( u32 stamp );
const char *strtimestamp( u32 stamp ); /* GMT */
+const char *isotimestamp( u32 stamp ); /* GMT with hh:mm:ss */
const char *asctimestamp( u32 stamp ); /* localized */
void print_string( FILE *fp, const byte *p, size_t n, int delim );
void print_string2( FILE *fp, const byte *p, size_t n, int delim, int delim2 );