aboutsummaryrefslogtreecommitdiffstats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorJohn Keeping2016-01-19 19:33:05 +0000
committerJason A. Donenfeld2016-02-08 14:22:21 +0100
commitf2a901d2e1db5217d6890b26c6dc1ec119505d02 (patch)
tree72f3039748dcf1b00b3d5741cc6282dee7f5492c /ui-repolist.c
parent21dcf10386551a2eee3e552c3213bb14e535cbba (diff)
downloadcgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.tar.gz
cgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.tar.bz2
cgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.zip
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>
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 6004469..30915df 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -79,7 +79,7 @@ static void print_modtime(struct cgit_repo *repo)
79{ 79{
80 time_t t; 80 time_t t;
81 if (get_repo_modtime(repo, &t)) 81 if (get_repo_modtime(repo, &t))
82 cgit_print_age(t, -1); 82 cgit_print_age(t, 0, -1);
83} 83}
84 84
85static int is_match(struct cgit_repo *repo) 85static int is_match(struct cgit_repo *repo)