Просмотр исходного кода

Use consistent date format

master
Arun Prakash Jana 6 лет назад
Родитель
Сommit
bac199d0cf
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: A75979F35C080412
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      nnn.c

+ 2
- 2
nnn.c Просмотреть файл

@@ -295,7 +295,7 @@ static const char messages[][16] =
"no traversal",
"invalid key",
"set NNN_COPIER",
"%a %F %T %z",
"%F %T %z",
};

/* For use in functions which are isolated and don't return the buffer */
@@ -1451,7 +1451,7 @@ printent_long(struct entry *ent, int sel, uint namecols)
{
static char buf[18], *pname;

strftime(buf, 18, "%Y-%m-%d %H:%M", localtime(&ent->t));
strftime(buf, 18, "%F %R", localtime(&ent->t));
pname = unescape(ent->name, namecols);

/* Directories are always shown on top */


Загрузка…
Отмена
Сохранить