mirror of
git://git.codemadness.org/stagit
synced 2025-03-09 09:09:12 -04:00
for the commit Date: header use the git format-patch format
This commit is contained in:
parent
7cb669f74f
commit
54a8a7c153
2
stagit.c
2
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user