mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Use consistent date format
This commit is contained in:
parent
9f4199481a
commit
bac199d0cf
4
nnn.c
4
nnn.c
|
@ -295,7 +295,7 @@ static const char messages[][16] =
|
||||||
"no traversal",
|
"no traversal",
|
||||||
"invalid key",
|
"invalid key",
|
||||||
"set NNN_COPIER",
|
"set NNN_COPIER",
|
||||||
"%a %F %T %z",
|
"%F %T %z",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* For use in functions which are isolated and don't return the buffer */
|
/* 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;
|
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);
|
pname = unescape(ent->name, namecols);
|
||||||
|
|
||||||
/* Directories are always shown on top */
|
/* Directories are always shown on top */
|
||||||
|
|
Loading…
Reference in a new issue