Use consistent date format

This commit is contained in:
Arun Prakash Jana 2018-01-14 12:43:20 +05:30
parent 9f4199481a
commit bac199d0cf
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

4
nnn.c
View File

@ -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 */