for the commit Date: header use the git format-patch format
1 files changed, 1 insertions(+), 1 deletions(-) | |||
---|---|---|---|
M | stagit.c | +1 | -1 |
1@@ -292,7 +292,7 @@ printtime(FILE *fp, const git_time *intime)
2 t = (time_t)intime->time + (intime->offset * 60);
3 if (!(intm = gmtime(&t)))
4 return;
5- strftime(out, sizeof(out), "%a %b %e %H:%M:%S", intm);
6+ strftime(out, sizeof(out), "%a, %e %b %Y %H:%M:%S", intm);
7 if (intime->offset < 0)
8 fprintf(fp, "%s -%02d%02d", out,
9 -(intime->offset) / 60, -(intime->offset) % 60);