aboutsummaryrefslogtreecommitdiff
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 873f1ba..f1f4f02 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -864,7 +864,9 @@ void cgit_print_docend(void)
htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> "
"(<a href='https://git-scm.com/'>git %s</a>) at ", cgit_version, git_version_string);
html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601)));
- html("</div>\n");
+ html(" (");
+ cgit_print_age(time(NULL), 0, -1);
+ html(" ago)</div>\n");
}
html("</div> <!-- id=cgit -->\n");
html("</body>\n</html>\n");