-rw-r--r-- | ui-summary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-summary.c b/ui-summary.c index 20394de..5799773 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -30,3 +30,3 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, html("</td><td>"); - cgit_print_date(commit->date, FMT_LONGDATE); + cgit_print_age(commit->date, -1, NULL); html("</td><td>"); @@ -78,3 +78,3 @@ static void print_tag_header() html("<tr class='nohover'><th class='left'>Tag</th>" - "<th class='left'>Created</th>" + "<th class='left'>Age</th>" "<th class='left'>Author</th>" @@ -110,3 +110,3 @@ static int cgit_print_tag_cb(const char *refname, const unsigned char *sha1, if (info->tagger_date > 0) - cgit_print_date(info->tagger_date, FMT_LONGDATE); + cgit_print_age(info->tagger_date, -1, NULL); html("</td><td>"); @@ -173,3 +173,3 @@ static void cgit_print_branches() html("<tr class='nohover'><th class='left'>Branch</th>" - "<th class='left'>Updated</th>" + "<th class='left'>Idle</th>" "<th class='left'>Author</th>" |