neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit e68c86e8c54a6f03e7405dff3d38995c6c42e4fa
parent f2a901d2e1db5217d6890b26c6dc1ec119505d02
Author: John Keeping <john@keeping.me.uk>
Date:   Tue, 19 Jan 2016 19:33:06 +0000

ui-shared: use show_date for footer timestamp

Signed-off-by: John Keeping <john@keeping.me.uk>

Diffstat:
Mui-shared.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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");