commit f6c99b65e4ee7c0dd648f7582ef848e5e3a13524
parent 72d971c439ed5038b44427421cc3529ed6420ea7
Author: Michael Skec
Date: Sat, 11 Nov 2023 16:53:19 +1100
short time on index
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -89,7 +89,8 @@ printtimeshort(FILE *fp, const git_time *intime)
t = (time_t)intime->time;
if (!(intm = gmtime(&t)))
return;
- strftime(out, sizeof(out), "%Y-%m-%d %H:%M", intm);
+ //strftime(out, sizeof(out), "%Y-%m-%d %H:%M", intm);
+ strftime(out, sizeof(out), "%Y-%m-%d", intm);
fputs(out, fp);
}