From: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 22 Aug 2017 19:47:09 +0000 (+0530)
Subject: Use hyphen within date
X-Git-Tag: v1.4~45
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=fb521a7a94d07b7fc66112c7bf8b8f3560a3a5f7;p=nnn.git

Use hyphen within date
---

diff --git a/nnn.c b/nnn.c
index c8de442a..4c8ac943 100644
--- 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);