aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-05 21:03:05 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-05 21:03:05 +0530
commit7f2bf343f831897fba3357abe14b6c3fe59ddffb (patch)
tree53a9405bd2eeac1d21b26cde8e31e4244566fe93 /src
parent90108ba763663d2571628373d1c63bc1e7bd2bfe (diff)
downloadnnn-7f2bf343f831897fba3357abe14b6c3fe59ddffb.tar.gz
Use ISO 8601 in status bar
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f751c6f..29737cb 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]",