]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-log.c
ui-shared: remove "format" from cgit_print_age()
[ps-cgit] / ui-log.c
index a4dc7070c37b832f029bebf390c533672bd778ac..5f6a69ced50a34e1734179bbb89fcddb08890075 100644 (file)
--- a/ui-log.c
+++ b/ui-log.c
@@ -204,7 +204,7 @@ static void print_commit(struct commit *commit, struct rev_info *revs)
        }
        else {
                html("<td>");
-               cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE);
+               cgit_print_age(commit->date, TM_WEEK * 2);
                html("</td>");
        }
 
@@ -244,7 +244,7 @@ static void print_commit(struct commit *commit, struct rev_info *revs)
 
        if (revs->graph) {
                html("</td><td>");
-               cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE);
+               cgit_print_age(commit->date, TM_WEEK * 2);
        }
 
        if (!lines_counted && (ctx.repo->enable_log_filecount ||