for the commit Date: header use the git format-patch format - stagit-gopher - A git gopher frontend. (mirror)
HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 54a8a7c1533ce60e3cbe8539bf1e801225d0fabd
DIR parent 7cb669f74f6aeacdbc092267c690624032073eec
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 7 May 2017 13:12:43 +0200
for the commit Date: header use the git format-patch format
Diffstat:
M stagit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/stagit.c b/stagit.c
@@ -292,7 +292,7 @@ printtime(FILE *fp, const git_time *intime)
t = (time_t)intime->time + (intime->offset * 60);
if (!(intm = gmtime(&t)))
return;
- strftime(out, sizeof(out), "%a %b %e %H:%M:%S", intm);
+ strftime(out, sizeof(out), "%a, %e %b %Y %H:%M:%S", intm);
if (intime->offset < 0)
fprintf(fp, "%s -%02d%02d", out,
-(intime->offset) / 60, -(intime->offset) % 60);