diff options
author | John Keeping <john@keeping.me.uk> | 2016-01-19 22:33:06 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-08 16:22:42 +0300 |
commit | e68c86e8c54a6f03e7405dff3d38995c6c42e4fa (patch) | |
tree | e1ce0849626da122031932992917cdbc062f9951 /ui-shared.c | |
parent | f2a901d2e1db5217d6890b26c6dc1ec119505d02 (diff) |
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.c | 2 |
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) 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"); |