]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-tag.c
Use mode 0644 for non-executable files
[cgit.git] / ui-tag.c
index 2998d0277265ddd78780fb1723adf6f7e252ff3c..3aea87d8032869c4adcc6b4041f16729b5db1a00 100644 (file)
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -8,6 +8,7 @@
 
 #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("<tr><td>Tag date</td><td>");
-                       cgit_print_date(info->tagger_date, FMT_LONGDATE);
+                       cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time);
                        html("</td></tr>\n");
                }
                if (info->tagger) {
                        html("<tr><td>Tagged by</td><td>");
                        html_txt(info->tagger);
+                       if (info->tagger_email) {
+                               html(" ");
+                               html_txt(info->tagger_email);
+                       }
                        html("</td></tr>\n");
                }
                html("<tr><td>Tagged object</td><td>");