about summary refs log tree commit diff stats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJohn Keeping2016-01-19 19:33:06 +0000
committerJason A. Donenfeld2016-02-08 14:22:42 +0100
commite68c86e8c54a6f03e7405dff3d38995c6c42e4fa (patch)
treee1ce0849626da122031932992917cdbc062f9951 /ui-shared.c
parentui: show ages in the originator's timezone (diff)
downloadcgit-e68c86e8c54a6f03e7405dff3d38995c6c42e4fa.tar.gz
cgit-e68c86e8c54a6f03e7405dff3d38995c6c42e4fa.zip
ui-shared: use show_date for footer timestamp
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 3ce86fe..eaa45fb 100644 --- a/ui-shared.c +++ b/ui-shared.c
@@ -801,7 +801,7 @@ void cgit_print_docend(void)
801 else { 801 else {
802 htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ", 802 htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
803 cgit_version); 803 cgit_version);
804 cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time); 804 html_txt(show_date(time(NULL), 0, cgit_date_mode(FMT_LONGDATE)));
805 html("</div>\n"); 805 html("</div>\n");
806 } 806 }
807 html("</div> <!-- id=cgit -->\n"); 807 html("</div> <!-- id=cgit -->\n");