commit 7f2bf343f831897fba3357abe14b6c3fe59ddffb
parent 90108ba763663d2571628373d1c63bc1e7bd2bfe
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 5 Dec 2019 21:03:05 +0530
Use ISO 8601 in status bar
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]",