]> Sergey Matveev's repositories - nnn.git/commitdiff
Use hyphen within date
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 22 Aug 2017 19:47:09 +0000 (01:17 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 22 Aug 2017 19:47:09 +0000 (01:17 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index c8de442a2bab0436d3b1b4e21347dde376563050..4c8ac9434657c0a4df6ffee2372069e3f8a89106 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -1150,7 +1150,7 @@ printent_long(struct entry *ent, int sel)
        else
                ncols = COLS;
 
-       strftime(buf, 18, "%d %m %Y %H:%M", localtime(&ent->t));
+       strftime(buf, 18, "%d-%m-%Y %H:%M", localtime(&ent->t));
 
        if (sel)
                attron(A_REVERSE);