X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/43291e418ab6c736168effc017f9548bacb84e5e..b7f33786ef4b155a11b0324f84bbde5d7fc9c998:/ui-tag.c?ds=sidebyside diff --git a/ui-tag.c b/ui-tag.c index 6d761f3..3aea87d 100644 --- a/ui-tag.c +++ b/ui-tag.c @@ -7,7 +7,8 @@ */ #include "cgit.h" - +#include "html.h" +#include "ui-shared.h" static void print_tag_content(char *buf) { @@ -56,12 +57,16 @@ void cgit_print_tag(char *revname) revname, sha1_to_hex(sha1)); if (info->tagger_date > 0) { html("Tag date"); - cgit_print_date(info->tagger_date, FMT_LONGDATE); + cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time); html("\n"); } if (info->tagger) { html("Tagged by"); html_txt(info->tagger); + if (info->tagger_email) { + html(" "); + html_txt(info->tagger_email); + } html("\n"); } html("Tagged object");