about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-01 21:52:06 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-01 21:52:06 +0100
commit151dc0a76395da02b6afbf0c83b427b3a29ab68a (patch)
tree43e19cc18ad93b35e126cc18de16b064d2a60499
parentf2c54fa472b5a9835e63dd2412a9be2eff2242ea (diff)
downloadlr-151dc0a76395da02b6afbf0c83b427b3a29ab68a.tar.gz
lr-151dc0a76395da02b6afbf0c83b427b3a29ab68a.tar.xz
lr-151dc0a76395da02b6afbf0c83b427b3a29ab68a.zip
use %F %R to format the timestamp, so the separators are inserted by strftime
-rw-r--r--lr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lr.c b/lr.c
index b815ddd..3ad61b6 100644
--- a/lr.c
+++ b/lr.c
@@ -79,7 +79,7 @@ static size_t prefixl;
 static char default_ordering[] = "n";
 static char default_format[] = "%p\\n";
 static char type_format[] = "%p%F\\n";
-static char long_format[] = "%M %n %u %g %s %TY-%Tm-%Td %TH:%TM %p%F%l\n";
+static char long_format[] = "%M %n %u %g %s %TF %TR %p%F%l\n";
 static char zero_format[] = "%p\\0";
 static char stat_format[] = "%D %i %M %n %u %g %R %s \"%Ab %Ad %AT %AY\" \"%Tb %Td %TT %TY\" \"%Cb %Cd %CT %CY\" %b %p\n";