1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* 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.
This commit is contained in:
Werner Koch 2005-03-14 20:41:20 +00:00
parent a043c14d22
commit a177090f37
7 changed files with 77 additions and 4 deletions

View file

@ -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 );