mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Use ISO 8601 in status bar
This commit is contained in:
parent
90108ba763
commit
7f2bf343f8
|
@ -4132,7 +4132,7 @@ static void redraw(char *path)
|
||||||
base = unescape(pent->name, NAME_MAX, NULL);
|
base = unescape(pent->name, NAME_MAX, NULL);
|
||||||
|
|
||||||
/* Timestamp */
|
/* Timestamp */
|
||||||
strftime(buf, sizeof(buf), "%Y-%b-%d %R", localtime(&pent->t));
|
strftime(buf, sizeof(buf), "%F %R", localtime(&pent->t));
|
||||||
buf[sizeof(buf)-1] = '\0';
|
buf[sizeof(buf)-1] = '\0';
|
||||||
|
|
||||||
mvprintw(lastln, 0, "%d/%d [%d:%s] %s%s %s %s %s [%s]",
|
mvprintw(lastln, 0, "%d/%d [%d:%s] %s%s %s %s %s [%s]",
|
||||||
|
|
Loading…
Reference in a new issue