mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 10:04:32 +02:00
ui-shared: remove "format" from cgit_print_age()
We never use any format other than FMT_SHORTDATE, so move that into the function. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
23f7dadaab
commit
57ea1aa2a5
5 changed files with 9 additions and 9 deletions
|
@ -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, NULL);
|
||||
cgit_print_age(t, -1);
|
||||
}
|
||||
|
||||
static int is_match(struct cgit_repo *repo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue