From 1b367277b4c9097f6c218164a510b5a34d040932 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 18 Jun 2008 15:33:06 -0400 Subject: [PATCH] Portability: Use %H:%M instead of the non-standard %R. SVN-Revision: 129 --- tar/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tar/read.c b/tar/read.c index ec6b531b1..fbb82533a 100644 --- a/tar/read.c +++ b/tar/read.c @@ -388,7 +388,7 @@ list_item_verbose(struct bsdtar *bsdtar, FILE *out, struct archive_entry *entry) if (abs(tim - now) > (365/2)*86400) fmt = bsdtar->day_first ? "%e %b %Y" : "%b %e %Y"; else - fmt = bsdtar->day_first ? "%e %b %R" : "%b %e %R"; + fmt = bsdtar->day_first ? "%e %b %H:%M" : "%b %e %H:%M"; strftime(tmp, sizeof(tmp), fmt, localtime(&tim)); fprintf(out, " %s ", tmp); safe_fprintf(out, "%s", archive_entry_pathname(entry)); -- 2.47.3