]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-shared: use show_date for footer timestamp
authorJohn Keeping <john@keeping.me.uk>
Tue, 19 Jan 2016 19:33:06 +0000 (19:33 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Feb 2016 13:22:42 +0000 (14:22 +0100)
Signed-off-by: John Keeping <john@keeping.me.uk>
ui-shared.c

index 3ce86fe7c8a82511adc70d6819605107844dafff..eaa45fb402f21aefcff21afe53e2bacae1ec0534 100644 (file)
@@ -801,7 +801,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");