mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
ui-shared: use show_date for footer timestamp
Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
f2a901d2e1
commit
e68c86e8c5
@ -801,7 +801,7 @@ void cgit_print_docend(void)
|
|||||||
else {
|
else {
|
||||||
htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
|
htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
|
||||||
cgit_version);
|
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>\n");
|
||||||
}
|
}
|
||||||
html("</div> <!-- id=cgit -->\n");
|
html("</div> <!-- id=cgit -->\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user