]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-repolist.c
ui-shared: Simplify cgit_print_error_page() logic
[cgit.git] / ui-repolist.c
index 60044699d176608913fc65b4622d5182414f4f43..30915df283b7ea1b7ae9800229153e94a84c7d29 100644 (file)
@@ -79,7 +79,7 @@ static void print_modtime(struct cgit_repo *repo)
 {
        time_t t;
        if (get_repo_modtime(repo, &t))
-               cgit_print_age(t, -1);
+               cgit_print_age(t, 0, -1);
 }
 
 static int is_match(struct cgit_repo *repo)