about summary refs log tree commit diff
path: root/third_party/cgit/ui-blame.c
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-12T03·12+0000
committerVincent Ambo <Vincent Ambo>2020-01-12T03·12+0000
commitc2a797ed8b372c0e53ad5a954f2e178af3d910b3 (patch)
tree88204986eb8735f3d5f4c73dc1638658c2052f4b /third_party/cgit/ui-blame.c
parent8d8932840ed20a2a518607cb684d4ba616d272e8 (diff)
feat(third_party/cgit): Render timestamps in dottime r/382
Using the DATE_DOTTIME format support in git.
Diffstat (limited to 'third_party/cgit/ui-blame.c')
-rw-r--r--third_party/cgit/ui-blame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/cgit/ui-blame.c b/third_party/cgit/ui-blame.c
index 644c30ad28..45fe191344 100644
--- a/third_party/cgit/ui-blame.c
+++ b/third_party/cgit/ui-blame.c
@@ -26,14 +26,14 @@ static char *emit_suspect_detail(struct blame_origin *suspect)
 		strbuf_addf(&detail, " %s", info->author_email);
 	strbuf_addf(&detail, "  %s\n",
 		    show_date(info->author_date, info->author_tz,
-				    cgit_date_mode(DATE_ISO8601)));
+				    cgit_date_mode(DATE_DOTTIME)));
 
 	strbuf_addf(&detail, "committer  %s", info->committer);
 	if (!ctx.cfg.noplainemail)
 		strbuf_addf(&detail, " %s", info->committer_email);
 	strbuf_addf(&detail, "  %s\n\n",
 		    show_date(info->committer_date, info->committer_tz,
-				    cgit_date_mode(DATE_ISO8601)));
+				    cgit_date_mode(DATE_DOTTIME)));
 
 	strbuf_addstr(&detail, info->subject);