1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

ftp, date: The same trick as for files.

This commit is contained in:
Witold Filipczyk 2007-06-18 20:15:05 +02:00 committed by Witold Filipczyk
parent ea4c09efd4
commit a3f45e7ff3

View File

@ -1194,9 +1194,9 @@ display_dir_entry(struct cache_entry *cached, off_t *pos, int *tries,
if (current_time > when + 6L * 30L * 24L * 60L * 60L
|| current_time < when - 60L * 60L)
fmt = "%b %e %Y";
fmt = "%4b %e %Y";
else
fmt = "%b %e %H:%M";
fmt = "%4b %e %H:%M";
wr = strftime(date, sizeof(date), fmt, when_tm);
add_cp_html_to_string(&string, format->libc_codepage,