aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-01-14 12:43:20 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-01-14 12:43:20 +0530
commitbac199d0cf01cf1e8c13091a678f7e3874d4aed9 (patch)
tree90fbbb7dce214ef00c7435c8895c63c7be5e4e46
parent9f4199481a1313458d96c7be9187dc3aeee658c9 (diff)
downloadnnn-bac199d0cf01cf1e8c13091a678f7e3874d4aed9.tar.gz
Use consistent date format
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index bc33b88..cdabfde 100644
--- a/nnn.c
+++ b/nnn.c
@@ -295,7 +295,7 @@ static const char messages[][16] =
"no traversal",
"invalid key",
"set NNN_COPIER",
- "%a %F %T %z",
+ "%F %T %z",
};
/* For use in functions which are isolated and don't return the buffer */
@@ -1451,7 +1451,7 @@ printent_long(struct entry *ent, int sel, uint namecols)
{
static char buf[18], *pname;
- strftime(buf, 18, "%Y-%m-%d %H:%M", localtime(&ent->t));
+ strftime(buf, 18, "%F %R", localtime(&ent->t));
pname = unescape(ent->name, namecols);
/* Directories are always shown on top */