Use ISO 8601 in status bar

This commit is contained in:
Arun Prakash Jana 2019-12-05 21:03:05 +05:30
parent 90108ba763
commit 7f2bf343f8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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]",