[PATCH 6/8] ui-shared: use show_date for footer timestamp
John Keeping
john at keeping.me.uk
Tue Jan 19 20:33:06 CET 2016
Signed-off-by: John Keeping <john at keeping.me.uk>
---
ui-shared.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui-shared.c b/ui-shared.c
index 0322968..9699524 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -797,7 +797,7 @@ void cgit_print_docend(void)
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");
--
2.7.0.226.gfe986fe
More information about the CGit
mailing list