From: Arun Prakash Jana Date: Thu, 5 Dec 2019 15:33:05 +0000 (+0530) Subject: Use ISO 8601 in status bar X-Git-Tag: v2.9~212 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7f2bf343f831897fba3357abe14b6c3fe59ddffb;p=nnn.git Use ISO 8601 in status bar --- diff --git a/src/nnn.c b/src/nnn.c index f751c6f5..29737cbb 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4132,7 +4132,7 @@ static void redraw(char *path) base = unescape(pent->name, NAME_MAX, NULL); /* Timestamp */ - strftime(buf, sizeof(buf), "%Y-%b-%d %R", localtime(&pent->t)); + strftime(buf, sizeof(buf), "%F %R", localtime(&pent->t)); buf[sizeof(buf)-1] = '\0'; mvprintw(lastln, 0, "%d/%d [%d:%s] %s%s %s %s %s [%s]",