mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 18:14:48 +02:00
ui: show ages in the originator's timezone
This affects the tooltip showing the full time and the case when a date is sufficiently old to be shown in full rather than as an offset. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
21dcf10386
commit
f2a901d2e1
5 changed files with 18 additions and 18 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);
|
||||
cgit_print_age(t, 0, -1);
|
||||
}
|
||||
|
||||
static int is_match(struct cgit_repo *repo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue