all repos — cgit @ e68c86e8c54a6f03e7405dff3d38995c6c42e4fa

a hyperfast web frontend for git written in c

ui-shared: use show_date for footer timestamp

Signed-off-by: John Keeping <john@keeping.me.uk>
John Keeping john@keeping.me.uk
Tue, 19 Jan 2016 19:33:06 +0000
commit

e68c86e8c54a6f03e7405dff3d38995c6c42e4fa

parent

f2a901d2e1db5217d6890b26c6dc1ec119505d02

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M ui-shared.cui-shared.c

@@ -801,7 +801,7 @@ html_include(ctx.cfg.footer);

else { htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ", cgit_version); - cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time); + html_txt(show_date(time(NULL), 0, cgit_date_mode(FMT_LONGDATE))); html("</div>\n"); } html("</div> <!-- id=cgit -->\n");