1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-03 03:56:32 -04:00

Show the elapsed time since the document was loaded in the document info box

This commit is contained in:
Miciah Dashiel Butler Masters 2007-10-09 14:16:36 +00:00
parent f2f478eb2f
commit bd8a7c4178

View File

@ -201,6 +201,13 @@ document_info_dialog(struct session *ses)
cached->last_modified);
}
if (!cached->incomplete) {
add_format_to_string(&msg, "\n%s: ",
_("Time since loading", term));
add_duration_to_string(&msg,
time(NULL) - cached->seconds);
}
}
#ifdef CONFIG_GLOBHIST