diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-12T03·12+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-12T03·12+0000 |
commit | c2a797ed8b372c0e53ad5a954f2e178af3d910b3 (patch) | |
tree | 88204986eb8735f3d5f4c73dc1638658c2052f4b /third_party/cgit/ui-blame.c | |
parent | 8d8932840ed20a2a518607cb684d4ba616d272e8 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/cgit/ui-blame.c b/third_party/cgit/ui-blame.c index 644c30ad289e..45fe191344f3 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); |