From 4bd951c4ae9e0b2a53f3f0a4120efc58de814c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 24 Feb 2014 17:29:42 +0100 Subject: [PATCH] Use abreviated weekday to preserve alignment --- abduco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abduco.c b/abduco.c index ae0c4ae..32c4795 100644 --- a/abduco.c +++ b/abduco.c @@ -350,7 +350,7 @@ static int list_session() { if (e->d_name[0] != '.') { struct stat sb; char buf[255]; if (stat(e->d_name, &sb) == 0) { - strftime(buf, sizeof(buf), "%A%t %d.%m.%Y %T", localtime(&sb.st_atime)); + strftime(buf, sizeof(buf), "%a%t %d.%m.%Y %T", localtime(&sb.st_atime)); printf(" %s\t%s\n", buf, e->d_name); } }