]> Sergey Matveev's repositories - nnn.git/commitdiff
Use uniform separator
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 26 Sep 2019 02:52:53 +0000 (08:22 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 26 Sep 2019 02:52:53 +0000 (08:22 +0530)
src/nnn.c

index e56a60f6c38d26562a277f42ef3d9cf022ca72af..ea2aa7f418ac46161df50eb38be686955dab386a 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3370,7 +3370,7 @@ static void redraw(char *path)
                        base = unescape(pent->name, NAME_MAX, NULL);
 
                        /* Timestamp */
-                       strftime(buf, 18, "%Y/%b/%d %R", localtime(&pent->t));
+                       strftime(buf, 18, "%Y-%b-%d %R", localtime(&pent->t));
 
                        mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s %s [%s]",
                                 cur + 1, ndents, nselected, selmode, sort, buf,